{"action":"opened","number":4321,"pull_request":{"url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321","id":93023340,"html_url":"https://github.com/Alluxio/alluxio/pull/4321","diff_url":"https://github.com/Alluxio/alluxio/pull/4321.diff","patch_url":"https://github.com/Alluxio/alluxio/pull/4321.patch","issue_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4321","number":4321,"state":"open","locked":false,"title":"[WIP] Split UFS.exists into isFile or isDirectory","user":{"login":"madanadit","id":2262458,"avatar_url":"https://avatars.githubusercontent.com/u/2262458?v=3","gravatar_id":"","url":"https://api.github.com/users/madanadit","html_url":"https://github.com/madanadit","followers_url":"https://api.github.com/users/madanadit/followers","following_url":"https://api.github.com/users/madanadit/following{/other_user}","gists_url":"https://api.github.com/users/madanadit/gists{/gist_id}","starred_url":"https://api.github.com/users/madanadit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madanadit/subscriptions","organizations_url":"https://api.github.com/users/madanadit/orgs","repos_url":"https://api.github.com/users/madanadit/repos","events_url":"https://api.github.com/users/madanadit/events{/privacy}","received_events_url":"https://api.github.com/users/madanadit/received_events","type":"User","site_admin":false},"body":"At present, implementations the UFS.exists check for the existence of both a file and a directory. This is inefficient as Alluxio knows if the path is a file or a directory. This fixes the issue by making UFS.isDirectory a public API and replacing all uses of UFS.exists with isFile or isDirectory.","created_at":"2016-11-09T19:26:10Z","updated_at":"2016-11-09T19:26:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321/commits","review_comments_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321/comments","review_comment_url":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Alluxio/alluxio/issues/4321/comments","statuses_url":"https://api.github.com/repos/Alluxio/alluxio/statuses/284a96ca29f396b4fd7fb9313d6f1189cf087143","head":{"label":"madanadit:ufs-split","ref":"ufs-split","sha":"284a96ca29f396b4fd7fb9313d6f1189cf087143","user":{"login":"madanadit","id":2262458,"avatar_url":"https://avatars.githubusercontent.com/u/2262458?v=3","gravatar_id":"","url":"https://api.github.com/users/madanadit","html_url":"https://github.com/madanadit","followers_url":"https://api.github.com/users/madanadit/followers","following_url":"https://api.github.com/users/madanadit/following{/other_user}","gists_url":"https://api.github.com/users/madanadit/gists{/gist_id}","starred_url":"https://api.github.com/users/madanadit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madanadit/subscriptions","organizations_url":"https://api.github.com/users/madanadit/orgs","repos_url":"https://api.github.com/users/madanadit/repos","events_url":"https://api.github.com/users/madanadit/events{/privacy}","received_events_url":"https://api.github.com/users/madanadit/received_events","type":"User","site_admin":false},"repo":{"id":61668690,"name":"alluxio","full_name":"madanadit/alluxio","owner":{"login":"madanadit","id":2262458,"avatar_url":"https://avatars.githubusercontent.com/u/2262458?v=3","gravatar_id":"","url":"https://api.github.com/users/madanadit","html_url":"https://github.com/madanadit","followers_url":"https://api.github.com/users/madanadit/followers","following_url":"https://api.github.com/users/madanadit/following{/other_user}","gists_url":"https://api.github.com/users/madanadit/gists{/gist_id}","starred_url":"https://api.github.com/users/madanadit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madanadit/subscriptions","organizations_url":"https://api.github.com/users/madanadit/orgs","repos_url":"https://api.github.com/users/madanadit/repos","events_url":"https://api.github.com/users/madanadit/events{/privacy}","received_events_url":"https://api.github.com/users/madanadit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madanadit/alluxio","description":"Alluxio, formerly Tachyon, Memory Speed Virtual Distributed Storage System","fork":true,"url":"https://api.github.com/repos/madanadit/alluxio","forks_url":"https://api.github.com/repos/madanadit/alluxio/forks","keys_url":"https://api.github.com/repos/madanadit/alluxio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madanadit/alluxio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madanadit/alluxio/teams","hooks_url":"https://api.github.com/repos/madanadit/alluxio/hooks","issue_events_url":"https://api.github.com/repos/madanadit/alluxio/issues/events{/number}","events_url":"https://api.github.com/repos/madanadit/alluxio/events","assignees_url":"https://api.github.com/repos/madanadit/alluxio/assignees{/user}","branches_url":"https://api.github.com/repos/madanadit/alluxio/branches{/branch}","tags_url":"https://api.github.com/repos/madanadit/alluxio/tags","blobs_url":"https://api.github.com/repos/madanadit/alluxio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madanadit/alluxio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madanadit/alluxio/git/refs{/sha}","trees_url":"https://api.github.com/repos/madanadit/alluxio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madanadit/alluxio/statuses/{sha}","languages_url":"https://api.github.com/repos/madanadit/alluxio/languages","stargazers_url":"https://api.github.com/repos/madanadit/alluxio/stargazers","contributors_url":"https://api.github.com/repos/madanadit/alluxio/contributors","subscribers_url":"https://api.github.com/repos/madanadit/alluxio/subscribers","subscription_url":"https://api.github.com/repos/madanadit/alluxio/subscription","commits_url":"https://api.github.com/repos/madanadit/alluxio/commits{/sha}","git_commits_url":"https://api.github.com/repos/madanadit/alluxio/git/commits{/sha}","comments_url":"https://api.github.com/repos/madanadit/alluxio/comments{/number}","issue_comment_url":"https://api.github.com/repos/madanadit/alluxio/issues/comments{/number}","contents_url":"https://api.github.com/repos/madanadit/alluxio/contents/{+path}","compare_url":"https://api.github.com/repos/madanadit/alluxio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madanadit/alluxio/merges","archive_url":"https://api.github.com/repos/madanadit/alluxio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madanadit/alluxio/downloads","issues_url":"https://api.github.com/repos/madanadit/alluxio/issues{/number}","pulls_url":"https://api.github.com/repos/madanadit/alluxio/pulls{/number}","milestones_url":"https://api.github.com/repos/madanadit/alluxio/milestones{/number}","notifications_url":"https://api.github.com/repos/madanadit/alluxio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madanadit/alluxio/labels{/name}","releases_url":"https://api.github.com/repos/madanadit/alluxio/releases{/id}","deployments_url":"https://api.github.com/repos/madanadit/alluxio/deployments","created_at":"2016-06-21T21:34:10Z","updated_at":"2016-06-21T21:34:15Z","pushed_at":"2016-11-09T19:13:48Z","git_url":"git://github.com/madanadit/alluxio.git","ssh_url":"git@github.com:madanadit/alluxio.git","clone_url":"https://github.com/madanadit/alluxio.git","svn_url":"https://github.com/madanadit/alluxio","homepage":"http://www.alluxio.org/","size":62499,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Alluxio:master","ref":"master","sha":"a1749cffcce203e59fe3d94ac6bdafe227c2d4b0","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":"Alluxio, formerly Tachyon, 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-11-09T18:55:41Z","pushed_at":"2016-11-09T17:24:48Z","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":99299,"stargazers_count":2717,"watchers_count":2717,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1227,"mirror_url":null,"open_issues_count":27,"forks":1227,"open_issues":27,"watchers":2717,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321"},"html":{"href":"https://github.com/Alluxio/alluxio/pull/4321"},"issue":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4321"},"comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/issues/4321/comments"},"review_comments":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321/comments"},"review_comment":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Alluxio/alluxio/pulls/4321/commits"},"statuses":{"href":"https://api.github.com/repos/Alluxio/alluxio/statuses/284a96ca29f396b4fd7fb9313d6f1189cf087143"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":258,"deletions":254,"changed_files":22}}
{"actor":{"display_login":"madanadit"}}