{"action":"created","comment":{"url":"https://api.github.com/repos/apache/apex-core/pulls/comments/91091295","pull_request_review_id":11600946,"id":91091295,"diff_hunk":"@@ -51,10 +52,13 @@\n \n   public static class EvenOddIntegerGeneratorInputOperator implements InputOperator, com.datatorrent.api.Operator.ActivationListener<OperatorContext>\n   {\n+    @OutputPortFieldAnnotation(optional = true)","path":"engine/src/test/java/com/datatorrent/stram/engine/InputOperatorTest.java","position":12,"original_position":12,"commit_id":"8ba2ff9432bf9e8d0c1bbee4335e7a6604cf6806","original_commit_id":"8ba2ff9432bf9e8d0c1bbee4335e7a6604cf6806","user":{"login":"tweise","id":263695,"avatar_url":"https://avatars.githubusercontent.com/u/263695?v=3","gravatar_id":"","url":"https://api.github.com/users/tweise","html_url":"https://github.com/tweise","followers_url":"https://api.github.com/users/tweise/followers","following_url":"https://api.github.com/users/tweise/following{/other_user}","gists_url":"https://api.github.com/users/tweise/gists{/gist_id}","starred_url":"https://api.github.com/users/tweise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tweise/subscriptions","organizations_url":"https://api.github.com/users/tweise/orgs","repos_url":"https://api.github.com/users/tweise/repos","events_url":"https://api.github.com/users/tweise/events{/privacy}","received_events_url":"https://api.github.com/users/tweise/received_events","type":"User","site_admin":false},"body":"Is this still needed?","created_at":"2016-12-06T14:46:04Z","updated_at":"2016-12-06T14:46:04Z","html_url":"https://github.com/apache/apex-core/pull/410#discussion_r91091295","pull_request_url":"https://api.github.com/repos/apache/apex-core/pulls/410","_links":{"self":{"href":"https://api.github.com/repos/apache/apex-core/pulls/comments/91091295"},"html":{"href":"https://github.com/apache/apex-core/pull/410#discussion_r91091295"},"pull_request":{"href":"https://api.github.com/repos/apache/apex-core/pulls/410"}}},"pull_request":{"url":"https://api.github.com/repos/apache/apex-core/pulls/410","id":89360264,"html_url":"https://github.com/apache/apex-core/pull/410","diff_url":"https://github.com/apache/apex-core/pull/410.diff","patch_url":"https://github.com/apache/apex-core/pull/410.patch","issue_url":"https://api.github.com/repos/apache/apex-core/issues/410","number":410,"state":"open","locked":false,"title":"APEXCORE-408: Ability to schedule Sub-DAG from running application.","user":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"body":"Pull request for dynamic dag modification through stats listener.  It provides following\nfunctionality\n- StatsListener can access the opearator name for easily detecting which opearator stats are being processed.\n- StatsListener can create a instance of object through which it can submit dag modifications to the engine.\n- StatsListener can return dag changes as a response to engine.\n- PlanModifier is modified to take a DAG and apply it on the existing running DAG and deploy the changes.\n\nThe following functionality is not working yet.\n- The new opearator does not start from the correct windowId (https://issues.apache.org/jira/browse/APEXCORE-532)\n- Relanched application failed to start when it was killed after dynamic dag modification.\n- There is no support for resuming operator from previous state when they were removed. This could be achived through\n  readig state through external storage on setup.\n- persist operator support is not present for newly added streams.\n- Not all parts are covered through tests.\n\nThe demo application using the feature is available at\nhttps://github.com/tushargosavi/apex-dynamic-scheduling\n\nThere are two variations of WordCount application. The first variation detects the presence of\nnew files start a disconnected DAG to process the data.\n(https://github.com/tushargosavi/apex-dynamic-scheduling/blob/master/src/main/java/com/datatorrent/wordcount/WordCountApp.java)\n\nThe second application (https://github.com/tushargosavi/apex-dynamic-scheduling/blob/master/src/main/java/com/datatorrent/wordcount/ExtendApp.java),\ninitially only one reader operator is running in the DAG, and provides pendingFiles as auto-metric to stat listener.\nOn detecting pending files it attaches splitter counter and output operator to the read operator. Once files are processed the splitter, counter and\noutput operators are removed and added back again if new data files are added into the directory.\n","created_at":"2016-10-14T10:25:06Z","updated_at":"2016-12-06T14:46:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f1f7ef15b0c61ff5f052a29d971e971811f8ecf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/apex-core/pulls/410/commits","review_comments_url":"https://api.github.com/repos/apache/apex-core/pulls/410/comments","review_comment_url":"https://api.github.com/repos/apache/apex-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/apex-core/issues/410/comments","statuses_url":"https://api.github.com/repos/apache/apex-core/statuses/8ba2ff9432bf9e8d0c1bbee4335e7a6604cf6806","head":{"label":"tushargosavi:APEXCORE-408","ref":"APEXCORE-408","sha":"8ba2ff9432bf9e8d0c1bbee4335e7a6604cf6806","user":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"repo":{"id":42162942,"name":"apex-core","full_name":"tushargosavi/apex-core","owner":{"login":"tushargosavi","id":183931,"avatar_url":"https://avatars.githubusercontent.com/u/183931?v=3","gravatar_id":"","url":"https://api.github.com/users/tushargosavi","html_url":"https://github.com/tushargosavi","followers_url":"https://api.github.com/users/tushargosavi/followers","following_url":"https://api.github.com/users/tushargosavi/following{/other_user}","gists_url":"https://api.github.com/users/tushargosavi/gists{/gist_id}","starred_url":"https://api.github.com/users/tushargosavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tushargosavi/subscriptions","organizations_url":"https://api.github.com/users/tushargosavi/orgs","repos_url":"https://api.github.com/users/tushargosavi/repos","events_url":"https://api.github.com/users/tushargosavi/events{/privacy}","received_events_url":"https://api.github.com/users/tushargosavi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tushargosavi/apex-core","description":"Mirror of Apache Apex core (Incubating)","fork":true,"url":"https://api.github.com/repos/tushargosavi/apex-core","forks_url":"https://api.github.com/repos/tushargosavi/apex-core/forks","keys_url":"https://api.github.com/repos/tushargosavi/apex-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tushargosavi/apex-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tushargosavi/apex-core/teams","hooks_url":"https://api.github.com/repos/tushargosavi/apex-core/hooks","issue_events_url":"https://api.github.com/repos/tushargosavi/apex-core/issues/events{/number}","events_url":"https://api.github.com/repos/tushargosavi/apex-core/events","assignees_url":"https://api.github.com/repos/tushargosavi/apex-core/assignees{/user}","branches_url":"https://api.github.com/repos/tushargosavi/apex-core/branches{/branch}","tags_url":"https://api.github.com/repos/tushargosavi/apex-core/tags","blobs_url":"https://api.github.com/repos/tushargosavi/apex-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tushargosavi/apex-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tushargosavi/apex-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/tushargosavi/apex-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tushargosavi/apex-core/statuses/{sha}","languages_url":"https://api.github.com/repos/tushargosavi/apex-core/languages","stargazers_url":"https://api.github.com/repos/tushargosavi/apex-core/stargazers","contributors_url":"https://api.github.com/repos/tushargosavi/apex-core/contributors","subscribers_url":"https://api.github.com/repos/tushargosavi/apex-core/subscribers","subscription_url":"https://api.github.com/repos/tushargosavi/apex-core/subscription","commits_url":"https://api.github.com/repos/tushargosavi/apex-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/tushargosavi/apex-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/tushargosavi/apex-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/tushargosavi/apex-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/tushargosavi/apex-core/contents/{+path}","compare_url":"https://api.github.com/repos/tushargosavi/apex-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tushargosavi/apex-core/merges","archive_url":"https://api.github.com/repos/tushargosavi/apex-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tushargosavi/apex-core/downloads","issues_url":"https://api.github.com/repos/tushargosavi/apex-core/issues{/number}","pulls_url":"https://api.github.com/repos/tushargosavi/apex-core/pulls{/number}","milestones_url":"https://api.github.com/repos/tushargosavi/apex-core/milestones{/number}","notifications_url":"https://api.github.com/repos/tushargosavi/apex-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tushargosavi/apex-core/labels{/name}","releases_url":"https://api.github.com/repos/tushargosavi/apex-core/releases{/id}","deployments_url":"https://api.github.com/repos/tushargosavi/apex-core/deployments","created_at":"2015-09-09T07:25:38Z","updated_at":"2016-11-15T09:54:19Z","pushed_at":"2016-11-29T05:22:53Z","git_url":"git://github.com/tushargosavi/apex-core.git","ssh_url":"git@github.com:tushargosavi/apex-core.git","clone_url":"https://github.com/tushargosavi/apex-core.git","svn_url":"https://github.com/tushargosavi/apex-core","homepage":null,"size":14015,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"c97dd7ccc495e7ac17e263ea82338a06987aa435","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":41348333,"name":"apex-core","full_name":"apache/apex-core","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/apex-core","description":"Mirror of Apache Apex core","fork":false,"url":"https://api.github.com/repos/apache/apex-core","forks_url":"https://api.github.com/repos/apache/apex-core/forks","keys_url":"https://api.github.com/repos/apache/apex-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/apex-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/apex-core/teams","hooks_url":"https://api.github.com/repos/apache/apex-core/hooks","issue_events_url":"https://api.github.com/repos/apache/apex-core/issues/events{/number}","events_url":"https://api.github.com/repos/apache/apex-core/events","assignees_url":"https://api.github.com/repos/apache/apex-core/assignees{/user}","branches_url":"https://api.github.com/repos/apache/apex-core/branches{/branch}","tags_url":"https://api.github.com/repos/apache/apex-core/tags","blobs_url":"https://api.github.com/repos/apache/apex-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/apex-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/apex-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/apex-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/apex-core/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/apex-core/languages","stargazers_url":"https://api.github.com/repos/apache/apex-core/stargazers","contributors_url":"https://api.github.com/repos/apache/apex-core/contributors","subscribers_url":"https://api.github.com/repos/apache/apex-core/subscribers","subscription_url":"https://api.github.com/repos/apache/apex-core/subscription","commits_url":"https://api.github.com/repos/apache/apex-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/apex-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/apex-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/apex-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/apex-core/contents/{+path}","compare_url":"https://api.github.com/repos/apache/apex-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/apex-core/merges","archive_url":"https://api.github.com/repos/apache/apex-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/apex-core/downloads","issues_url":"https://api.github.com/repos/apache/apex-core/issues{/number}","pulls_url":"https://api.github.com/repos/apache/apex-core/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/apex-core/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/apex-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/apex-core/labels{/name}","releases_url":"https://api.github.com/repos/apache/apex-core/releases{/id}","deployments_url":"https://api.github.com/repos/apache/apex-core/deployments","created_at":"2015-08-25T07:00:05Z","updated_at":"2016-12-05T10:22:13Z","pushed_at":"2016-12-06T06:43:51Z","git_url":"git://github.com/apache/apex-core.git","ssh_url":"git@github.com:apache/apex-core.git","clone_url":"https://github.com/apache/apex-core.git","svn_url":"https://github.com/apache/apex-core","homepage":"","size":21266,"stargazers_count":189,"watchers_count":189,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":125,"mirror_url":"git://git.apache.org/incubator-apex-core.git","open_issues_count":12,"forks":125,"open_issues":12,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/apex-core/pulls/410"},"html":{"href":"https://github.com/apache/apex-core/pull/410"},"issue":{"href":"https://api.github.com/repos/apache/apex-core/issues/410"},"comments":{"href":"https://api.github.com/repos/apache/apex-core/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/apex-core/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/apex-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/apex-core/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/apache/apex-core/statuses/8ba2ff9432bf9e8d0c1bbee4335e7a6604cf6806"}}}}
{"actor":{"display_login":"tweise"}}