{"action":"created","comment":{"url":"https://api.github.com/repos/mesos/storm/pulls/comments/41991101","id":41991101,"diff_hunk":"@@ -39,6 +40,22 @@\n   public static final String SUPERVISOR_ID = \"supervisorid\";\n   public static final String ASSIGNMENT_ID = \"assignmentid\";\n \n+  \n+  public static String ipAddressFromAssignmentId(String assignmentId) {\n+        int last = assignmentId.lastIndexOf(\"-\");\n+        String ip = assignmentId.substring(last + 1);\n+        LOG.info(\"IPAddress: \" + ip);","path":"src/storm/mesos/MesosCommon.java","position":16,"original_position":16,"commit_id":"0f9df0c9a98ac691163d1161bfe05514a97771a4","original_commit_id":"0f9df0c9a98ac691163d1161bfe05514a97771a4","user":{"login":"brndnmtthws","id":3129093,"avatar_url":"https://avatars.githubusercontent.com/u/3129093?v=3","gravatar_id":"","url":"https://api.github.com/users/brndnmtthws","html_url":"https://github.com/brndnmtthws","followers_url":"https://api.github.com/users/brndnmtthws/followers","following_url":"https://api.github.com/users/brndnmtthws/following{/other_user}","gists_url":"https://api.github.com/users/brndnmtthws/gists{/gist_id}","starred_url":"https://api.github.com/users/brndnmtthws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brndnmtthws/subscriptions","organizations_url":"https://api.github.com/users/brndnmtthws/orgs","repos_url":"https://api.github.com/users/brndnmtthws/repos","events_url":"https://api.github.com/users/brndnmtthws/events{/privacy}","received_events_url":"https://api.github.com/users/brndnmtthws/received_events","type":"User","site_admin":false},"body":":+1: to @erikdw's comment.","created_at":"2015-10-14T13:18:33Z","updated_at":"2015-10-14T13:18:33Z","html_url":"https://github.com/mesos/storm/pull/62#discussion_r41991101","pull_request_url":"https://api.github.com/repos/mesos/storm/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/mesos/storm/pulls/comments/41991101"},"html":{"href":"https://github.com/mesos/storm/pull/62#discussion_r41991101"},"pull_request":{"href":"https://api.github.com/repos/mesos/storm/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/mesos/storm/pulls/62","id":47579422,"html_url":"https://github.com/mesos/storm/pull/62","diff_url":"https://github.com/mesos/storm/pull/62.diff","patch_url":"https://github.com/mesos/storm/pull/62.patch","issue_url":"https://api.github.com/repos/mesos/storm/issues/62","number":62,"state":"open","locked":false,"title":"Upgrade to Storm 0.9.5 and Add worker name prefix","user":{"login":"maverick2202","id":6999855,"avatar_url":"https://avatars.githubusercontent.com/u/6999855?v=3","gravatar_id":"","url":"https://api.github.com/users/maverick2202","html_url":"https://github.com/maverick2202","followers_url":"https://api.github.com/users/maverick2202/followers","following_url":"https://api.github.com/users/maverick2202/following{/other_user}","gists_url":"https://api.github.com/users/maverick2202/gists{/gist_id}","starred_url":"https://api.github.com/users/maverick2202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverick2202/subscriptions","organizations_url":"https://api.github.com/users/maverick2202/orgs","repos_url":"https://api.github.com/users/maverick2202/repos","events_url":"https://api.github.com/users/maverick2202/events{/privacy}","received_events_url":"https://api.github.com/users/maverick2202/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-13T19:47:58Z","updated_at":"2015-10-14T13:18:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f44ed3dfda580ecd9b95225ba07c5b982a4dfbd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/storm/pulls/62/commits","review_comments_url":"https://api.github.com/repos/mesos/storm/pulls/62/comments","review_comment_url":"https://api.github.com/repos/mesos/storm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesos/storm/issues/62/comments","statuses_url":"https://api.github.com/repos/mesos/storm/statuses/0f9df0c9a98ac691163d1161bfe05514a97771a4","head":{"label":"maverick2202:master","ref":"master","sha":"0f9df0c9a98ac691163d1161bfe05514a97771a4","user":{"login":"maverick2202","id":6999855,"avatar_url":"https://avatars.githubusercontent.com/u/6999855?v=3","gravatar_id":"","url":"https://api.github.com/users/maverick2202","html_url":"https://github.com/maverick2202","followers_url":"https://api.github.com/users/maverick2202/followers","following_url":"https://api.github.com/users/maverick2202/following{/other_user}","gists_url":"https://api.github.com/users/maverick2202/gists{/gist_id}","starred_url":"https://api.github.com/users/maverick2202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverick2202/subscriptions","organizations_url":"https://api.github.com/users/maverick2202/orgs","repos_url":"https://api.github.com/users/maverick2202/repos","events_url":"https://api.github.com/users/maverick2202/events{/privacy}","received_events_url":"https://api.github.com/users/maverick2202/received_events","type":"User","site_admin":false},"repo":{"id":43839677,"name":"storm","full_name":"maverick2202/storm","owner":{"login":"maverick2202","id":6999855,"avatar_url":"https://avatars.githubusercontent.com/u/6999855?v=3","gravatar_id":"","url":"https://api.github.com/users/maverick2202","html_url":"https://github.com/maverick2202","followers_url":"https://api.github.com/users/maverick2202/followers","following_url":"https://api.github.com/users/maverick2202/following{/other_user}","gists_url":"https://api.github.com/users/maverick2202/gists{/gist_id}","starred_url":"https://api.github.com/users/maverick2202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverick2202/subscriptions","organizations_url":"https://api.github.com/users/maverick2202/orgs","repos_url":"https://api.github.com/users/maverick2202/repos","events_url":"https://api.github.com/users/maverick2202/events{/privacy}","received_events_url":"https://api.github.com/users/maverick2202/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maverick2202/storm","description":"Storm on Mesos!","fork":true,"url":"https://api.github.com/repos/maverick2202/storm","forks_url":"https://api.github.com/repos/maverick2202/storm/forks","keys_url":"https://api.github.com/repos/maverick2202/storm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maverick2202/storm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maverick2202/storm/teams","hooks_url":"https://api.github.com/repos/maverick2202/storm/hooks","issue_events_url":"https://api.github.com/repos/maverick2202/storm/issues/events{/number}","events_url":"https://api.github.com/repos/maverick2202/storm/events","assignees_url":"https://api.github.com/repos/maverick2202/storm/assignees{/user}","branches_url":"https://api.github.com/repos/maverick2202/storm/branches{/branch}","tags_url":"https://api.github.com/repos/maverick2202/storm/tags","blobs_url":"https://api.github.com/repos/maverick2202/storm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maverick2202/storm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maverick2202/storm/git/refs{/sha}","trees_url":"https://api.github.com/repos/maverick2202/storm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maverick2202/storm/statuses/{sha}","languages_url":"https://api.github.com/repos/maverick2202/storm/languages","stargazers_url":"https://api.github.com/repos/maverick2202/storm/stargazers","contributors_url":"https://api.github.com/repos/maverick2202/storm/contributors","subscribers_url":"https://api.github.com/repos/maverick2202/storm/subscribers","subscription_url":"https://api.github.com/repos/maverick2202/storm/subscription","commits_url":"https://api.github.com/repos/maverick2202/storm/commits{/sha}","git_commits_url":"https://api.github.com/repos/maverick2202/storm/git/commits{/sha}","comments_url":"https://api.github.com/repos/maverick2202/storm/comments{/number}","issue_comment_url":"https://api.github.com/repos/maverick2202/storm/issues/comments{/number}","contents_url":"https://api.github.com/repos/maverick2202/storm/contents/{+path}","compare_url":"https://api.github.com/repos/maverick2202/storm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maverick2202/storm/merges","archive_url":"https://api.github.com/repos/maverick2202/storm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maverick2202/storm/downloads","issues_url":"https://api.github.com/repos/maverick2202/storm/issues{/number}","pulls_url":"https://api.github.com/repos/maverick2202/storm/pulls{/number}","milestones_url":"https://api.github.com/repos/maverick2202/storm/milestones{/number}","notifications_url":"https://api.github.com/repos/maverick2202/storm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maverick2202/storm/labels{/name}","releases_url":"https://api.github.com/repos/maverick2202/storm/releases{/id}","created_at":"2015-10-07T19:24:21Z","updated_at":"2015-10-07T19:24:22Z","pushed_at":"2015-10-13T19:54:15Z","git_url":"git://github.com/maverick2202/storm.git","ssh_url":"git@github.com:maverick2202/storm.git","clone_url":"https://github.com/maverick2202/storm.git","svn_url":"https://github.com/maverick2202/storm","homepage":null,"size":191,"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":"mesos:master","ref":"master","sha":"c13c13311b38e97ff0dba95c982461d18508700a","user":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"repo":{"id":21285858,"name":"storm","full_name":"mesos/storm","owner":{"login":"mesos","id":229272,"avatar_url":"https://avatars.githubusercontent.com/u/229272?v=3","gravatar_id":"","url":"https://api.github.com/users/mesos","html_url":"https://github.com/mesos","followers_url":"https://api.github.com/users/mesos/followers","following_url":"https://api.github.com/users/mesos/following{/other_user}","gists_url":"https://api.github.com/users/mesos/gists{/gist_id}","starred_url":"https://api.github.com/users/mesos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesos/subscriptions","organizations_url":"https://api.github.com/users/mesos/orgs","repos_url":"https://api.github.com/users/mesos/repos","events_url":"https://api.github.com/users/mesos/events{/privacy}","received_events_url":"https://api.github.com/users/mesos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesos/storm","description":"Storm on Mesos!","fork":false,"url":"https://api.github.com/repos/mesos/storm","forks_url":"https://api.github.com/repos/mesos/storm/forks","keys_url":"https://api.github.com/repos/mesos/storm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/storm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/storm/teams","hooks_url":"https://api.github.com/repos/mesos/storm/hooks","issue_events_url":"https://api.github.com/repos/mesos/storm/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/storm/events","assignees_url":"https://api.github.com/repos/mesos/storm/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/storm/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/storm/tags","blobs_url":"https://api.github.com/repos/mesos/storm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/storm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/storm/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/storm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/storm/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/storm/languages","stargazers_url":"https://api.github.com/repos/mesos/storm/stargazers","contributors_url":"https://api.github.com/repos/mesos/storm/contributors","subscribers_url":"https://api.github.com/repos/mesos/storm/subscribers","subscription_url":"https://api.github.com/repos/mesos/storm/subscription","commits_url":"https://api.github.com/repos/mesos/storm/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/storm/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/storm/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/storm/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/storm/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/storm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/storm/merges","archive_url":"https://api.github.com/repos/mesos/storm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/storm/downloads","issues_url":"https://api.github.com/repos/mesos/storm/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/storm/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/storm/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/storm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/storm/labels{/name}","releases_url":"https://api.github.com/repos/mesos/storm/releases{/id}","created_at":"2014-06-27T18:51:37Z","updated_at":"2015-10-11T02:31:37Z","pushed_at":"2015-10-13T19:54:15Z","git_url":"git://github.com/mesos/storm.git","ssh_url":"git@github.com:mesos/storm.git","clone_url":"https://github.com/mesos/storm.git","svn_url":"https://github.com/mesos/storm","homepage":null,"size":662,"stargazers_count":71,"watchers_count":71,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":23,"forks":35,"open_issues":23,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/storm/pulls/62"},"html":{"href":"https://github.com/mesos/storm/pull/62"},"issue":{"href":"https://api.github.com/repos/mesos/storm/issues/62"},"comments":{"href":"https://api.github.com/repos/mesos/storm/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/storm/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/mesos/storm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesos/storm/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/storm/statuses/0f9df0c9a98ac691163d1161bfe05514a97771a4"}}}}