{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/comments/38579208","id":38579208,"diff_hunk":"@@ -484,34 +484,40 @@ public FSFilterStreamContext load(@Nonnull String filename)\n         //of this operator.\n         for(String seenFileName: endOffsets.keySet()) {\n           try {\n-            Integer part = openPart.get(seenFileName).getValue() + 1;\n+            Integer fileOpenPart = this.openPart.get(seenFileName).getValue();\n+            int nextPart = fileOpenPart + 1;","path":"library/src/main/java/com/datatorrent/lib/io/fs/AbstractFileOutputOperator.java","position":6,"original_position":6,"commit_id":"12b353ea0ac3d09b92436572cf5bedb665e72a71","original_commit_id":"12b353ea0ac3d09b92436572cf5bedb665e72a71","user":{"login":"PramodSSImmaneni","id":4418235,"avatar_url":"https://avatars.githubusercontent.com/u/4418235?v=3","gravatar_id":"","url":"https://api.github.com/users/PramodSSImmaneni","html_url":"https://github.com/PramodSSImmaneni","followers_url":"https://api.github.com/users/PramodSSImmaneni/followers","following_url":"https://api.github.com/users/PramodSSImmaneni/following{/other_user}","gists_url":"https://api.github.com/users/PramodSSImmaneni/gists{/gist_id}","starred_url":"https://api.github.com/users/PramodSSImmaneni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PramodSSImmaneni/subscriptions","organizations_url":"https://api.github.com/users/PramodSSImmaneni/orgs","repos_url":"https://api.github.com/users/PramodSSImmaneni/repos","events_url":"https://api.github.com/users/PramodSSImmaneni/events{/privacy}","received_events_url":"https://api.github.com/users/PramodSSImmaneni/received_events","type":"User","site_admin":false},"body":"1. Since commit can lag by the time part 1 is being materialized in finalize part 10 could already be created and wont this code potentially delete tmp files of part10 because startsWith would match.","created_at":"2015-09-02T20:20:55Z","updated_at":"2015-09-02T20:20:55Z","html_url":"https://github.com/apache/incubator-apex-malhar/pull/6#discussion_r38579208","pull_request_url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/comments/38579208"},"html":{"href":"https://github.com/apache/incubator-apex-malhar/pull/6#discussion_r38579208"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6","id":43939496,"html_url":"https://github.com/apache/incubator-apex-malhar/pull/6","diff_url":"https://github.com/apache/incubator-apex-malhar/pull/6.diff","patch_url":"https://github.com/apache/incubator-apex-malhar/pull/6.patch","issue_url":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/6","number":6,"state":"open","locked":false,"title":"MLHR-1825 #comment handling case when no open part is updated but str…","user":{"login":"chandnisingh","id":4690923,"avatar_url":"https://avatars.githubusercontent.com/u/4690923?v=3","gravatar_id":"","url":"https://api.github.com/users/chandnisingh","html_url":"https://github.com/chandnisingh","followers_url":"https://api.github.com/users/chandnisingh/followers","following_url":"https://api.github.com/users/chandnisingh/following{/other_user}","gists_url":"https://api.github.com/users/chandnisingh/gists{/gist_id}","starred_url":"https://api.github.com/users/chandnisingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandnisingh/subscriptions","organizations_url":"https://api.github.com/users/chandnisingh/orgs","repos_url":"https://api.github.com/users/chandnisingh/repos","events_url":"https://api.github.com/users/chandnisingh/events{/privacy}","received_events_url":"https://api.github.com/users/chandnisingh/received_events","type":"User","site_admin":false},"body":"…eam is not created","created_at":"2015-09-01T23:37:30Z","updated_at":"2015-09-02T20:20:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cf2f993bda0050df2c4d6eaada6d1fd77b26b4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/6/comments","statuses_url":"https://api.github.com/repos/apache/incubator-apex-malhar/statuses/12b353ea0ac3d09b92436572cf5bedb665e72a71","head":{"label":"chandnisingh:devel-3","ref":"devel-3","sha":"12b353ea0ac3d09b92436572cf5bedb665e72a71","user":{"login":"chandnisingh","id":4690923,"avatar_url":"https://avatars.githubusercontent.com/u/4690923?v=3","gravatar_id":"","url":"https://api.github.com/users/chandnisingh","html_url":"https://github.com/chandnisingh","followers_url":"https://api.github.com/users/chandnisingh/followers","following_url":"https://api.github.com/users/chandnisingh/following{/other_user}","gists_url":"https://api.github.com/users/chandnisingh/gists{/gist_id}","starred_url":"https://api.github.com/users/chandnisingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandnisingh/subscriptions","organizations_url":"https://api.github.com/users/chandnisingh/orgs","repos_url":"https://api.github.com/users/chandnisingh/repos","events_url":"https://api.github.com/users/chandnisingh/events{/privacy}","received_events_url":"https://api.github.com/users/chandnisingh/received_events","type":"User","site_admin":false},"repo":{"id":41395031,"name":"incubator-apex-malhar","full_name":"chandnisingh/incubator-apex-malhar","owner":{"login":"chandnisingh","id":4690923,"avatar_url":"https://avatars.githubusercontent.com/u/4690923?v=3","gravatar_id":"","url":"https://api.github.com/users/chandnisingh","html_url":"https://github.com/chandnisingh","followers_url":"https://api.github.com/users/chandnisingh/followers","following_url":"https://api.github.com/users/chandnisingh/following{/other_user}","gists_url":"https://api.github.com/users/chandnisingh/gists{/gist_id}","starred_url":"https://api.github.com/users/chandnisingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandnisingh/subscriptions","organizations_url":"https://api.github.com/users/chandnisingh/orgs","repos_url":"https://api.github.com/users/chandnisingh/repos","events_url":"https://api.github.com/users/chandnisingh/events{/privacy}","received_events_url":"https://api.github.com/users/chandnisingh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chandnisingh/incubator-apex-malhar","description":"Mirror of Apache Apex malhar (Incubating)","fork":true,"url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar","forks_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/forks","keys_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/teams","hooks_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/events","assignees_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/tags","blobs_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/languages","stargazers_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/subscription","commits_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/merges","archive_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/downloads","issues_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/chandnisingh/incubator-apex-malhar/releases{/id}","created_at":"2015-08-26T00:27:55Z","updated_at":"2015-08-26T00:28:04Z","pushed_at":"2015-09-02T17:51:38Z","git_url":"git://github.com/chandnisingh/incubator-apex-malhar.git","ssh_url":"git@github.com:chandnisingh/incubator-apex-malhar.git","clone_url":"https://github.com/chandnisingh/incubator-apex-malhar.git","svn_url":"https://github.com/chandnisingh/incubator-apex-malhar","homepage":null,"size":82146,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:devel-3","ref":"devel-3","sha":"91321cef55558b41e8177ca83173a51e02b71902","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":41348334,"name":"incubator-apex-malhar","full_name":"apache/incubator-apex-malhar","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/incubator-apex-malhar","description":"Mirror of Apache Apex malhar (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-apex-malhar","forks_url":"https://api.github.com/repos/apache/incubator-apex-malhar/forks","keys_url":"https://api.github.com/repos/apache/incubator-apex-malhar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-apex-malhar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-apex-malhar/teams","hooks_url":"https://api.github.com/repos/apache/incubator-apex-malhar/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-apex-malhar/events","assignees_url":"https://api.github.com/repos/apache/incubator-apex-malhar/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-apex-malhar/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-apex-malhar/tags","blobs_url":"https://api.github.com/repos/apache/incubator-apex-malhar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-apex-malhar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-apex-malhar/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-apex-malhar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-apex-malhar/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-apex-malhar/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-apex-malhar/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-apex-malhar/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-apex-malhar/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-apex-malhar/subscription","commits_url":"https://api.github.com/repos/apache/incubator-apex-malhar/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-apex-malhar/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-apex-malhar/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-apex-malhar/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-apex-malhar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-apex-malhar/merges","archive_url":"https://api.github.com/repos/apache/incubator-apex-malhar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-apex-malhar/downloads","issues_url":"https://api.github.com/repos/apache/incubator-apex-malhar/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-apex-malhar/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-apex-malhar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-apex-malhar/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-apex-malhar/releases{/id}","created_at":"2015-08-25T07:00:05Z","updated_at":"2015-08-26T17:38:55Z","pushed_at":"2015-09-02T15:55:05Z","git_url":"git://github.com/apache/incubator-apex-malhar.git","ssh_url":"git@github.com:apache/incubator-apex-malhar.git","clone_url":"https://github.com/apache/incubator-apex-malhar.git","svn_url":"https://github.com/apache/incubator-apex-malhar","homepage":null,"size":86474,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":12,"mirror_url":"git://git.apache.org/incubator-apex-malhar.git","open_issues_count":2,"forks":12,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6"},"html":{"href":"https://github.com/apache/incubator-apex-malhar/pull/6"},"issue":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/6"},"comments":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-apex-malhar/statuses/12b353ea0ac3d09b92436572cf5bedb665e72a71"}}}}