{"action":"created","comment":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/58088638","id":58088638,"diff_hunk":"@@ -83,7 +87,7 @@ Alluxio提供定位策略，用于确定应该选择哪个Worker来存储文件\n \n     返回指定主机名的Worker。该策略不能被设置为默认策略。\n \n-Alluxio支持自定义策略，所以你可以通过实现`alluxio.client.file.policyFileWriteLocationPolicy`接口来开发定制的定位策略来自己的迎合应用需求。注意默认策略必须要有一个空构造函数。要想使用ASYNC_THROUGH写类型，所有的文件数据块必须被写到相同的Worker上。\n+Alluxio支持自定义策略，所以你可以开发自己的定位策略来迎合应用需求通过实现接口`alluxio.client.file.policyFileWriteLocationPolicy`。注意默认策略必须要有一个空构造函数。要想使用ASYNC_THROUGH写类型，所有的文件数据块必须被写到相同的Worker上。","path":"docs/cn/File-System-API.md","position":21,"original_position":21,"commit_id":"32799e9d6c03c249f1e8185259edbcbf28a95ad8","original_commit_id":"32799e9d6c03c249f1e8185259edbcbf28a95ad8","user":{"login":"ifcharming","id":4342151,"avatar_url":"https://avatars.githubusercontent.com/u/4342151?v=3","gravatar_id":"","url":"https://api.github.com/users/ifcharming","html_url":"https://github.com/ifcharming","followers_url":"https://api.github.com/users/ifcharming/followers","following_url":"https://api.github.com/users/ifcharming/following{/other_user}","gists_url":"https://api.github.com/users/ifcharming/gists{/gist_id}","starred_url":"https://api.github.com/users/ifcharming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifcharming/subscriptions","organizations_url":"https://api.github.com/users/ifcharming/orgs","repos_url":"https://api.github.com/users/ifcharming/repos","events_url":"https://api.github.com/users/ifcharming/events{/privacy}","received_events_url":"https://api.github.com/users/ifcharming/received_events","type":"User","site_admin":false},"body":"nit: 所以你可以通过实现接口`alluxio.client.file.policyFileWriteLocationPolicy`，开发自己的定位策略来迎合应用需求。\r\n\r\nDoes this sound better?","created_at":"2016-03-31T16:54:57Z","updated_at":"2016-03-31T16:54:57Z","html_url":"https://github.com/Alluxio/alluxio/pull/2957#discussion_r58088638","pull_request_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957","_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments/58088638"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/2957#discussion_r58088638"},"pull_request":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957"}}},"pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957","id":64779106,"html_url":"https://github.com/Alluxio/alluxio/pull/2957","diff_url":"https://github.com/Alluxio/alluxio/pull/2957.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/2957.patch","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/2957","number":2957,"state":"open","locked":false,"title":"[DOCFIX] update File-System-API of chinese version","user":{"login":"njuxiaoqian","id":18188621,"avatar_url":"https://avatars.githubusercontent.com/u/18188621?v=3","gravatar_id":"","url":"https://api.github.com/users/njuxiaoqian","html_url":"https://github.com/njuxiaoqian","followers_url":"https://api.github.com/users/njuxiaoqian/followers","following_url":"https://api.github.com/users/njuxiaoqian/following{/other_user}","gists_url":"https://api.github.com/users/njuxiaoqian/gists{/gist_id}","starred_url":"https://api.github.com/users/njuxiaoqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njuxiaoqian/subscriptions","organizations_url":"https://api.github.com/users/njuxiaoqian/orgs","repos_url":"https://api.github.com/users/njuxiaoqian/repos","events_url":"https://api.github.com/users/njuxiaoqian/events{/privacy}","received_events_url":"https://api.github.com/users/njuxiaoqian/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-31T12:07:49Z","updated_at":"2016-03-31T16:54:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fbcb5d83cafb1fa09b5002e2565f8fdbf119b7ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957/commits","review_comments_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957/comments","review_comment_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/2957/comments","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/32799e9d6c03c249f1e8185259edbcbf28a95ad8","head":{"label":"PasaLab:DOCFIX-master","ref":"DOCFIX-master","sha":"32799e9d6c03c249f1e8185259edbcbf28a95ad8","user":{"login":"PasaLab","id":6230048,"avatar_url":"https://avatars.githubusercontent.com/u/6230048?v=3","gravatar_id":"","url":"https://api.github.com/users/PasaLab","html_url":"https://github.com/PasaLab","followers_url":"https://api.github.com/users/PasaLab/followers","following_url":"https://api.github.com/users/PasaLab/following{/other_user}","gists_url":"https://api.github.com/users/PasaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/PasaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PasaLab/subscriptions","organizations_url":"https://api.github.com/users/PasaLab/orgs","repos_url":"https://api.github.com/users/PasaLab/repos","events_url":"https://api.github.com/users/PasaLab/events{/privacy}","received_events_url":"https://api.github.com/users/PasaLab/received_events","type":"Organization","site_admin":false},"repo":{"id":21603565,"name":"tachyon","full_name":"PasaLab/tachyon","owner":{"login":"PasaLab","id":6230048,"avatar_url":"https://avatars.githubusercontent.com/u/6230048?v=3","gravatar_id":"","url":"https://api.github.com/users/PasaLab","html_url":"https://github.com/PasaLab","followers_url":"https://api.github.com/users/PasaLab/followers","following_url":"https://api.github.com/users/PasaLab/following{/other_user}","gists_url":"https://api.github.com/users/PasaLab/gists{/gist_id}","starred_url":"https://api.github.com/users/PasaLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PasaLab/subscriptions","organizations_url":"https://api.github.com/users/PasaLab/orgs","repos_url":"https://api.github.com/users/PasaLab/repos","events_url":"https://api.github.com/users/PasaLab/events{/privacy}","received_events_url":"https://api.github.com/users/PasaLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PasaLab/tachyon","description":"Memory-centric Storage System for Big Data Analytics","fork":true,"url":"https://api.github.com/repos/PasaLab/tachyon","forks_url":"https://api.github.com/repos/PasaLab/tachyon/forks","keys_url":"https://api.github.com/repos/PasaLab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PasaLab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PasaLab/tachyon/teams","hooks_url":"https://api.github.com/repos/PasaLab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/PasaLab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/PasaLab/tachyon/events","assignees_url":"https://api.github.com/repos/PasaLab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/PasaLab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/PasaLab/tachyon/tags","blobs_url":"https://api.github.com/repos/PasaLab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PasaLab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PasaLab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PasaLab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PasaLab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/PasaLab/tachyon/languages","stargazers_url":"https://api.github.com/repos/PasaLab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/PasaLab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/PasaLab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/PasaLab/tachyon/subscription","commits_url":"https://api.github.com/repos/PasaLab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PasaLab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PasaLab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PasaLab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PasaLab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/PasaLab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PasaLab/tachyon/merges","archive_url":"https://api.github.com/repos/PasaLab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PasaLab/tachyon/downloads","issues_url":"https://api.github.com/repos/PasaLab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/PasaLab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/PasaLab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/PasaLab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PasaLab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/PasaLab/tachyon/releases{/id}","deployments_url":"https://api.github.com/repos/PasaLab/tachyon/deployments","created_at":"2014-07-08T07:42:41Z","updated_at":"2016-01-27T01:44:37Z","pushed_at":"2016-03-31T16:19:43Z","git_url":"git://github.com/PasaLab/tachyon.git","ssh_url":"git@github.com:PasaLab/tachyon.git","clone_url":"https://github.com/PasaLab/tachyon.git","svn_url":"https://github.com/PasaLab/tachyon","homepage":"http://tachyon-project.org","size":47105,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Alluxio:master","ref":"master","sha":"da2023197c547c6c16bd27e34cad2c57fbbe296c","user":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars.githubusercontent.com/u/16203694?v=3","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"alluxio","full_name":"Alluxio/alluxio","owner":{"login":"Alluxio","id":16203694,"avatar_url":"https://avatars.githubusercontent.com/u/16203694?v=3","gravatar_id":"","url":"https://api.github.com/users/Alluxio","html_url":"https://github.com/Alluxio","followers_url":"https://api.github.com/users/Alluxio/followers","following_url":"https://api.github.com/users/Alluxio/following{/other_user}","gists_url":"https://api.github.com/users/Alluxio/gists{/gist_id}","starred_url":"https://api.github.com/users/Alluxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alluxio/subscriptions","organizations_url":"https://api.github.com/users/Alluxio/orgs","repos_url":"https://api.github.com/users/Alluxio/repos","events_url":"https://api.github.com/users/Alluxio/events{/privacy}","received_events_url":"https://api.github.com/users/Alluxio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Alluxio/alluxio","description":"Memory-Speed Virtual Distributed Storage System","fork":false,"url":"https://api.github.com/repos/Alluxio/alluxio","forks_url":"https://api.github.com/repos/Alluxio/alluxio/forks","keys_url":"https://api.github.com/repos/Alluxio/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alluxio/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alluxio/alluxio/teams","hooks_url":"https://api.github.com/repos/Alluxio/alluxio/hooks","issue_events_url":"https://api.github.com/repos/Alluxio/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/Alluxio/alluxio/events","assignees_url":"https://api.github.com/repos/Alluxio/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/Alluxio/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/Alluxio/alluxio/tags","blobs_url":"https://api.github.com/repos/Alluxio/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alluxio/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alluxio/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alluxio/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/Alluxio/alluxio/languages","stargazers_url":"https://api.github.com/repos/Alluxio/alluxio/stargazers","contributors_url":"https://api.github.com/repos/Alluxio/alluxio/contributors","subscribers_url":"https://api.github.com/repos/Alluxio/alluxio/subscribers","subscription_url":"https://api.github.com/repos/Alluxio/alluxio/subscription","commits_url":"https://api.github.com/repos/Alluxio/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alluxio/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alluxio/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alluxio/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/Alluxio/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alluxio/alluxio/merges","archive_url":"https://api.github.com/repos/Alluxio/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alluxio/alluxio/downloads","issues_url":"https://api.github.com/repos/Alluxio/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/Alluxio/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/Alluxio/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/Alluxio/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alluxio/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/Alluxio/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/Alluxio/alluxio/deployments","created_at":"2012-12-21T17:43:46Z","updated_at":"2016-03-31T14:14:23Z","pushed_at":"2016-03-31T16:20:36Z","git_url":"git://github.com/Alluxio/alluxio.git","ssh_url":"git@github.com:Alluxio/alluxio.git","clone_url":"https://github.com/Alluxio/alluxio.git","svn_url":"https://github.com/Alluxio/alluxio","homepage":"http://www.alluxio.org/","size":56713,"stargazers_count":2264,"watchers_count":2264,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":868,"mirror_url":null,"open_issues_count":26,"forks":868,"open_issues":26,"watchers":2264,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/2957"},"issue":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/2957"},"comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/2957/comments"},"review_comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957/comments"},"review_comment":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/2957/commits"},"statuses":{"href":"https://api.github.com/repos/Alluxio/alluxio/statuses/32799e9d6c03c249f1e8185259edbcbf28a95ad8"}}}}