{"action":"created","comment":{"url":"https://api.github.com/repos/mesos/myriad/pulls/comments/41690409","id":41690409,"diff_hunk":"@@ -190,6 +212,31 @@ private void startNMInstances(Injector injector) {\n       }\n     }\n \n+    /**\n+     * Create NMProfile for any configured service\n+     * @param cfg \n+     * @param injector\n+     */\n+    private void initJavaBasedTaskConfiguration(MyriadConfiguration cfg, Injector injector) {\n+      LOGGER.info(\"Initializing JavaBasedTaskConfiguration\");\n+      ServiceProfileManager profileManager = injector.getInstance(ServiceProfileManager.class);\n+      TaskConstraintsManager taskConstraintsManager = injector.getInstance(TaskConstraintsManager.class);\n+\n+      Map<String, ServiceConfiguration> auxServicesConfigs = ","path":"myriad-scheduler/src/main/java/com/ebay/myriad/Main.java","position":125,"original_position":125,"commit_id":"8b82c960408a02bb2098a79004ca8cefe5ccd31a","original_commit_id":"8b82c960408a02bb2098a79004ca8cefe5ccd31a","user":{"login":"smarella","id":3505177,"avatar_url":"https://avatars.githubusercontent.com/u/3505177?v=3","gravatar_id":"","url":"https://api.github.com/users/smarella","html_url":"https://github.com/smarella","followers_url":"https://api.github.com/users/smarella/followers","following_url":"https://api.github.com/users/smarella/following{/other_user}","gists_url":"https://api.github.com/users/smarella/gists{/gist_id}","starred_url":"https://api.github.com/users/smarella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarella/subscriptions","organizations_url":"https://api.github.com/users/smarella/orgs","repos_url":"https://api.github.com/users/smarella/repos","events_url":"https://api.github.com/users/smarella/events{/privacy}","received_events_url":"https://api.github.com/users/smarella/received_events","type":"User","site_admin":false},"body":"Do we still have a notion of aux services? If not, these can be renamed to just serviceConfigs.","created_at":"2015-10-10T00:48:28Z","updated_at":"2015-10-10T00:48:28Z","html_url":"https://github.com/mesos/myriad/pull/121#discussion_r41690409","pull_request_url":"https://api.github.com/repos/mesos/myriad/pulls/121","_links":{"self":{"href":"https://api.github.com/repos/mesos/myriad/pulls/comments/41690409"},"html":{"href":"https://github.com/mesos/myriad/pull/121#discussion_r41690409"},"pull_request":{"href":"https://api.github.com/repos/mesos/myriad/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/mesos/myriad/pulls/121","id":41310059,"html_url":"https://github.com/mesos/myriad/pull/121","diff_url":"https://github.com/mesos/myriad/pull/121.diff","patch_url":"https://github.com/mesos/myriad/pull/121.patch","issue_url":"https://api.github.com/repos/mesos/myriad/issues/121","number":121,"state":"open","locked":false,"title":"Myriad-Issue-60 Added ability to launch JHS ...","user":{"login":"yufeldman","id":3076038,"avatar_url":"https://avatars.githubusercontent.com/u/3076038?v=3","gravatar_id":"","url":"https://api.github.com/users/yufeldman","html_url":"https://github.com/yufeldman","followers_url":"https://api.github.com/users/yufeldman/followers","following_url":"https://api.github.com/users/yufeldman/following{/other_user}","gists_url":"https://api.github.com/users/yufeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/yufeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yufeldman/subscriptions","organizations_url":"https://api.github.com/users/yufeldman/orgs","repos_url":"https://api.github.com/users/yufeldman/repos","events_url":"https://api.github.com/users/yufeldman/events{/privacy}","received_events_url":"https://api.github.com/users/yufeldman/received_events","type":"User","site_admin":false},"body":"... and other services that fit under Myriad umbrella from MyriadScheduler using default Mesos slave executor. Will update following doc https://docs.google.com/document/d/1TGGU2bn1cVPSmHeriNrtkAEhdvsRKcFtuWRaaGp9bSY/edit?usp=sharing\r\nwith more details\r\n","created_at":"2015-07-31T06:09:47Z","updated_at":"2015-10-10T00:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2734562545008f866d58fdd7f64cb5e16b72437","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mesos/myriad/pulls/121/commits","review_comments_url":"https://api.github.com/repos/mesos/myriad/pulls/121/comments","review_comment_url":"https://api.github.com/repos/mesos/myriad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesos/myriad/issues/121/comments","statuses_url":"https://api.github.com/repos/mesos/myriad/statuses/8b82c960408a02bb2098a79004ca8cefe5ccd31a","head":{"label":"yufeldman:issue_60_hadoop_2.7_PR1","ref":"issue_60_hadoop_2.7_PR1","sha":"8b82c960408a02bb2098a79004ca8cefe5ccd31a","user":{"login":"yufeldman","id":3076038,"avatar_url":"https://avatars.githubusercontent.com/u/3076038?v=3","gravatar_id":"","url":"https://api.github.com/users/yufeldman","html_url":"https://github.com/yufeldman","followers_url":"https://api.github.com/users/yufeldman/followers","following_url":"https://api.github.com/users/yufeldman/following{/other_user}","gists_url":"https://api.github.com/users/yufeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/yufeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yufeldman/subscriptions","organizations_url":"https://api.github.com/users/yufeldman/orgs","repos_url":"https://api.github.com/users/yufeldman/repos","events_url":"https://api.github.com/users/yufeldman/events{/privacy}","received_events_url":"https://api.github.com/users/yufeldman/received_events","type":"User","site_admin":false},"repo":{"id":30209959,"name":"myriad","full_name":"yufeldman/myriad","owner":{"login":"yufeldman","id":3076038,"avatar_url":"https://avatars.githubusercontent.com/u/3076038?v=3","gravatar_id":"","url":"https://api.github.com/users/yufeldman","html_url":"https://github.com/yufeldman","followers_url":"https://api.github.com/users/yufeldman/followers","following_url":"https://api.github.com/users/yufeldman/following{/other_user}","gists_url":"https://api.github.com/users/yufeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/yufeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yufeldman/subscriptions","organizations_url":"https://api.github.com/users/yufeldman/orgs","repos_url":"https://api.github.com/users/yufeldman/repos","events_url":"https://api.github.com/users/yufeldman/events{/privacy}","received_events_url":"https://api.github.com/users/yufeldman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yufeldman/myriad","description":"A Mesos framework for scaling a YARN cluster.","fork":true,"url":"https://api.github.com/repos/yufeldman/myriad","forks_url":"https://api.github.com/repos/yufeldman/myriad/forks","keys_url":"https://api.github.com/repos/yufeldman/myriad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yufeldman/myriad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yufeldman/myriad/teams","hooks_url":"https://api.github.com/repos/yufeldman/myriad/hooks","issue_events_url":"https://api.github.com/repos/yufeldman/myriad/issues/events{/number}","events_url":"https://api.github.com/repos/yufeldman/myriad/events","assignees_url":"https://api.github.com/repos/yufeldman/myriad/assignees{/user}","branches_url":"https://api.github.com/repos/yufeldman/myriad/branches{/branch}","tags_url":"https://api.github.com/repos/yufeldman/myriad/tags","blobs_url":"https://api.github.com/repos/yufeldman/myriad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yufeldman/myriad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yufeldman/myriad/git/refs{/sha}","trees_url":"https://api.github.com/repos/yufeldman/myriad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yufeldman/myriad/statuses/{sha}","languages_url":"https://api.github.com/repos/yufeldman/myriad/languages","stargazers_url":"https://api.github.com/repos/yufeldman/myriad/stargazers","contributors_url":"https://api.github.com/repos/yufeldman/myriad/contributors","subscribers_url":"https://api.github.com/repos/yufeldman/myriad/subscribers","subscription_url":"https://api.github.com/repos/yufeldman/myriad/subscription","commits_url":"https://api.github.com/repos/yufeldman/myriad/commits{/sha}","git_commits_url":"https://api.github.com/repos/yufeldman/myriad/git/commits{/sha}","comments_url":"https://api.github.com/repos/yufeldman/myriad/comments{/number}","issue_comment_url":"https://api.github.com/repos/yufeldman/myriad/issues/comments{/number}","contents_url":"https://api.github.com/repos/yufeldman/myriad/contents/{+path}","compare_url":"https://api.github.com/repos/yufeldman/myriad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yufeldman/myriad/merges","archive_url":"https://api.github.com/repos/yufeldman/myriad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yufeldman/myriad/downloads","issues_url":"https://api.github.com/repos/yufeldman/myriad/issues{/number}","pulls_url":"https://api.github.com/repos/yufeldman/myriad/pulls{/number}","milestones_url":"https://api.github.com/repos/yufeldman/myriad/milestones{/number}","notifications_url":"https://api.github.com/repos/yufeldman/myriad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yufeldman/myriad/labels{/name}","releases_url":"https://api.github.com/repos/yufeldman/myriad/releases{/id}","created_at":"2015-02-02T21:36:18Z","updated_at":"2015-07-07T06:45:51Z","pushed_at":"2015-10-07T19:31:27Z","git_url":"git://github.com/yufeldman/myriad.git","ssh_url":"git@github.com:yufeldman/myriad.git","clone_url":"https://github.com/yufeldman/myriad.git","svn_url":"https://github.com/yufeldman/myriad","homepage":"","size":2573,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"phase1"}},"base":{"label":"mesos:phase1","ref":"phase1","sha":"4472fdc183671e48058a17ec36e9c74049c90006","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":23895033,"name":"myriad","full_name":"mesos/myriad","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/myriad","description":"A Mesos framework for scaling a YARN cluster (Incubating into Apache)","fork":true,"url":"https://api.github.com/repos/mesos/myriad","forks_url":"https://api.github.com/repos/mesos/myriad/forks","keys_url":"https://api.github.com/repos/mesos/myriad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesos/myriad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesos/myriad/teams","hooks_url":"https://api.github.com/repos/mesos/myriad/hooks","issue_events_url":"https://api.github.com/repos/mesos/myriad/issues/events{/number}","events_url":"https://api.github.com/repos/mesos/myriad/events","assignees_url":"https://api.github.com/repos/mesos/myriad/assignees{/user}","branches_url":"https://api.github.com/repos/mesos/myriad/branches{/branch}","tags_url":"https://api.github.com/repos/mesos/myriad/tags","blobs_url":"https://api.github.com/repos/mesos/myriad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesos/myriad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesos/myriad/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesos/myriad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesos/myriad/statuses/{sha}","languages_url":"https://api.github.com/repos/mesos/myriad/languages","stargazers_url":"https://api.github.com/repos/mesos/myriad/stargazers","contributors_url":"https://api.github.com/repos/mesos/myriad/contributors","subscribers_url":"https://api.github.com/repos/mesos/myriad/subscribers","subscription_url":"https://api.github.com/repos/mesos/myriad/subscription","commits_url":"https://api.github.com/repos/mesos/myriad/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesos/myriad/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesos/myriad/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesos/myriad/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesos/myriad/contents/{+path}","compare_url":"https://api.github.com/repos/mesos/myriad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesos/myriad/merges","archive_url":"https://api.github.com/repos/mesos/myriad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesos/myriad/downloads","issues_url":"https://api.github.com/repos/mesos/myriad/issues{/number}","pulls_url":"https://api.github.com/repos/mesos/myriad/pulls{/number}","milestones_url":"https://api.github.com/repos/mesos/myriad/milestones{/number}","notifications_url":"https://api.github.com/repos/mesos/myriad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesos/myriad/labels{/name}","releases_url":"https://api.github.com/repos/mesos/myriad/releases{/id}","created_at":"2014-09-10T22:37:06Z","updated_at":"2015-10-09T18:21:29Z","pushed_at":"2015-10-07T19:31:28Z","git_url":"git://github.com/mesos/myriad.git","ssh_url":"git@github.com:mesos/myriad.git","clone_url":"https://github.com/mesos/myriad.git","svn_url":"https://github.com/mesos/myriad","homepage":"https://issues.apache.org/jira/browse/MYRIAD","size":5069,"stargazers_count":235,"watchers_count":235,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":58,"forks":53,"open_issues":58,"watchers":235,"default_branch":"phase1"}},"_links":{"self":{"href":"https://api.github.com/repos/mesos/myriad/pulls/121"},"html":{"href":"https://github.com/mesos/myriad/pull/121"},"issue":{"href":"https://api.github.com/repos/mesos/myriad/issues/121"},"comments":{"href":"https://api.github.com/repos/mesos/myriad/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/mesos/myriad/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/mesos/myriad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesos/myriad/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/mesos/myriad/statuses/8b82c960408a02bb2098a79004ca8cefe5ccd31a"}}}}