{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/comments/33180088","id":33180088,"diff_hunk":"@@ -70,7 +69,7 @@\n                 </tr>\n                 <% List<Long> capacityBytesOnTiers = (List<Long>) request.getAttribute(\"capacityBytesOnTiers\"); %>\n                 <% List<Long> usedBytesOnTiers = (List<Long>) request.getAttribute(\"usedBytesOnTiers\"); %>\n-                <% for (int i = 0; i < StorageLevelAlias.SIZE; i ++) { %>\n+                <% for (int i = 0; i < capacityBytesOnTiers.size(); i ++) { %>","path":"servers/src/main/webapp/worker/general.jsp","position":15,"original_position":15,"commit_id":"ca5b299c9c44299417a4f356e9f19738a0a165e4","original_commit_id":"ca5b299c9c44299417a4f356e9f19738a0a165e4","user":{"login":"calvinjia","id":2223813,"avatar_url":"https://avatars.githubusercontent.com/u/2223813?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinjia","html_url":"https://github.com/calvinjia","followers_url":"https://api.github.com/users/calvinjia/followers","following_url":"https://api.github.com/users/calvinjia/following{/other_user}","gists_url":"https://api.github.com/users/calvinjia/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinjia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinjia/subscriptions","organizations_url":"https://api.github.com/users/calvinjia/orgs","repos_url":"https://api.github.com/users/calvinjia/repos","events_url":"https://api.github.com/users/calvinjia/events{/privacy}","received_events_url":"https://api.github.com/users/calvinjia/received_events","type":"User","site_admin":false},"body":"The current assumption is that the user will specify all the tiers even if its unused (ie. no dirs specified). Do you think this assumption is reasonable?","created_at":"2015-06-24T18:31:59Z","updated_at":"2015-06-24T18:31:59Z","html_url":"https://github.com/amplab/tachyon/pull/1002#discussion_r33180088","pull_request_url":"https://api.github.com/repos/amplab/tachyon/pulls/1002","_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments/33180088"},"html":{"href":"https://github.com/amplab/tachyon/pull/1002#discussion_r33180088"},"pull_request":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1002"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/1002","id":38409934,"html_url":"https://github.com/amplab/tachyon/pull/1002","diff_url":"https://github.com/amplab/tachyon/pull/1002.diff","patch_url":"https://github.com/amplab/tachyon/pull/1002.patch","issue_url":"https://api.github.com/repos/amplab/tachyon/issues/1002","number":1002,"state":"open","locked":false,"title":"[TACHYON-539] Update the worker general UI according to the worker changes","user":{"login":"carsonwang","id":9278199,"avatar_url":"https://avatars.githubusercontent.com/u/9278199?v=3","gravatar_id":"","url":"https://api.github.com/users/carsonwang","html_url":"https://github.com/carsonwang","followers_url":"https://api.github.com/users/carsonwang/followers","following_url":"https://api.github.com/users/carsonwang/following{/other_user}","gists_url":"https://api.github.com/users/carsonwang/gists{/gist_id}","starred_url":"https://api.github.com/users/carsonwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsonwang/subscriptions","organizations_url":"https://api.github.com/users/carsonwang/orgs","repos_url":"https://api.github.com/users/carsonwang/repos","events_url":"https://api.github.com/users/carsonwang/events{/privacy}","received_events_url":"https://api.github.com/users/carsonwang/received_events","type":"User","site_admin":false},"body":"https://tachyon.atlassian.net/browse/TACHYON-539\r\n","created_at":"2015-06-24T05:57:55Z","updated_at":"2015-06-24T18:31:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a46bb8a14dfe6055398070a9dbb56f912397d09","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/tachyon/pulls/1002/commits","review_comments_url":"https://api.github.com/repos/amplab/tachyon/pulls/1002/comments","review_comment_url":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/tachyon/issues/1002/comments","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/ca5b299c9c44299417a4f356e9f19738a0a165e4","head":{"label":"carsonwang:TACHYON-539-generalUI","ref":"TACHYON-539-generalUI","sha":"ca5b299c9c44299417a4f356e9f19738a0a165e4","user":{"login":"carsonwang","id":9278199,"avatar_url":"https://avatars.githubusercontent.com/u/9278199?v=3","gravatar_id":"","url":"https://api.github.com/users/carsonwang","html_url":"https://github.com/carsonwang","followers_url":"https://api.github.com/users/carsonwang/followers","following_url":"https://api.github.com/users/carsonwang/following{/other_user}","gists_url":"https://api.github.com/users/carsonwang/gists{/gist_id}","starred_url":"https://api.github.com/users/carsonwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsonwang/subscriptions","organizations_url":"https://api.github.com/users/carsonwang/orgs","repos_url":"https://api.github.com/users/carsonwang/repos","events_url":"https://api.github.com/users/carsonwang/events{/privacy}","received_events_url":"https://api.github.com/users/carsonwang/received_events","type":"User","site_admin":false},"repo":{"id":29516862,"name":"tachyon","full_name":"carsonwang/tachyon","owner":{"login":"carsonwang","id":9278199,"avatar_url":"https://avatars.githubusercontent.com/u/9278199?v=3","gravatar_id":"","url":"https://api.github.com/users/carsonwang","html_url":"https://github.com/carsonwang","followers_url":"https://api.github.com/users/carsonwang/followers","following_url":"https://api.github.com/users/carsonwang/following{/other_user}","gists_url":"https://api.github.com/users/carsonwang/gists{/gist_id}","starred_url":"https://api.github.com/users/carsonwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carsonwang/subscriptions","organizations_url":"https://api.github.com/users/carsonwang/orgs","repos_url":"https://api.github.com/users/carsonwang/repos","events_url":"https://api.github.com/users/carsonwang/events{/privacy}","received_events_url":"https://api.github.com/users/carsonwang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carsonwang/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":true,"url":"https://api.github.com/repos/carsonwang/tachyon","forks_url":"https://api.github.com/repos/carsonwang/tachyon/forks","keys_url":"https://api.github.com/repos/carsonwang/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carsonwang/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carsonwang/tachyon/teams","hooks_url":"https://api.github.com/repos/carsonwang/tachyon/hooks","issue_events_url":"https://api.github.com/repos/carsonwang/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/carsonwang/tachyon/events","assignees_url":"https://api.github.com/repos/carsonwang/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/carsonwang/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/carsonwang/tachyon/tags","blobs_url":"https://api.github.com/repos/carsonwang/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carsonwang/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carsonwang/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/carsonwang/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carsonwang/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/carsonwang/tachyon/languages","stargazers_url":"https://api.github.com/repos/carsonwang/tachyon/stargazers","contributors_url":"https://api.github.com/repos/carsonwang/tachyon/contributors","subscribers_url":"https://api.github.com/repos/carsonwang/tachyon/subscribers","subscription_url":"https://api.github.com/repos/carsonwang/tachyon/subscription","commits_url":"https://api.github.com/repos/carsonwang/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/carsonwang/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/carsonwang/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/carsonwang/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/carsonwang/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/carsonwang/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carsonwang/tachyon/merges","archive_url":"https://api.github.com/repos/carsonwang/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carsonwang/tachyon/downloads","issues_url":"https://api.github.com/repos/carsonwang/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/carsonwang/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/carsonwang/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/carsonwang/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carsonwang/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/carsonwang/tachyon/releases{/id}","created_at":"2015-01-20T07:11:16Z","updated_at":"2015-02-06T01:56:29Z","pushed_at":"2015-06-24T06:38:08Z","git_url":"git://github.com/carsonwang/tachyon.git","ssh_url":"git@github.com:carsonwang/tachyon.git","clone_url":"https://github.com/carsonwang/tachyon.git","svn_url":"https://github.com/carsonwang/tachyon","homepage":"http://tachyon-project.org","size":13788,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"amplab:worker_wip","ref":"worker_wip","sha":"f0a1b56f9f0c6b75eeebb1f291cc9d9e83b82077","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"tachyon","full_name":"amplab/tachyon","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":false,"url":"https://api.github.com/repos/amplab/tachyon","forks_url":"https://api.github.com/repos/amplab/tachyon/forks","keys_url":"https://api.github.com/repos/amplab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/tachyon/teams","hooks_url":"https://api.github.com/repos/amplab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/amplab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/tachyon/events","assignees_url":"https://api.github.com/repos/amplab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/tachyon/tags","blobs_url":"https://api.github.com/repos/amplab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/tachyon/languages","stargazers_url":"https://api.github.com/repos/amplab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/amplab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/amplab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/amplab/tachyon/subscription","commits_url":"https://api.github.com/repos/amplab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/tachyon/merges","archive_url":"https://api.github.com/repos/amplab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/tachyon/downloads","issues_url":"https://api.github.com/repos/amplab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/amplab/tachyon/releases{/id}","created_at":"2012-12-21T17:43:46Z","updated_at":"2015-06-24T08:50:19Z","pushed_at":"2015-06-24T15:34:37Z","git_url":"git://github.com/amplab/tachyon.git","ssh_url":"git@github.com:amplab/tachyon.git","clone_url":"https://github.com/amplab/tachyon.git","svn_url":"https://github.com/amplab/tachyon","homepage":"http://tachyon-project.org","size":33532,"stargazers_count":1449,"watchers_count":1449,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":528,"mirror_url":null,"open_issues_count":18,"forks":528,"open_issues":18,"watchers":1449,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1002"},"html":{"href":"https://github.com/amplab/tachyon/pull/1002"},"issue":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1002"},"comments":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1002/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1002/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1002/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/tachyon/statuses/ca5b299c9c44299417a4f356e9f19738a0a165e4"}}}}