{"action":"created","comment":{"url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/comments/28391457","id":28391457,"diff_hunk":"@@ -907,14 +918,28 @@ private void ok() {\n       String wild = wFields.getNonEmpty( i ).getText( 3 );\n       if ( source != null && source.length() != 0 ) {\n         jobEntry.source_filefolder[nr] = source;\n+        processNamedClusterURLMapping( source, namedClusterURLMappings );\n         jobEntry.destination_filefolder[nr] = dest;\n+        processNamedClusterURLMapping( dest, namedClusterURLMappings );\n         jobEntry.wildcard[nr] = wild;\n         nr++;\n       }\n     }\n-    ( ( JobEntryHadoopCopyFiles ) jobEntry ).setNamedClusterURLMapping( namedClusterURLMapping );\n+    ( ( JobEntryHadoopCopyFiles ) jobEntry ).setNamedClusterURLMapping( namedClusterURLMappings );\n     dispose();\n   }\n+  \n+  private void processNamedClusterURLMapping(String locationURL, Map namedClusterURLMappings) {\n+    // The locationURL has to correspond to a NamedCluster otherwise it was modified by the user\n+    // thus breaking the URL/NamedCluster link.\n+    String cluster = transientMappings.get( locationURL );\n+    if ( cluster != null ) {\n+      namedClusterURLMappings.put( locationURL, cluster);","path":"src/org/pentaho/di/ui/job/entries/hadoopcopyfiles/JobEntryHadoopCopyFilesDialog.java","position":90,"original_position":90,"commit_id":"dc023aa8f01148c62e7ef799ef612b6dab1df04c","original_commit_id":"dc023aa8f01148c62e7ef799ef612b6dab1df04c","user":{"login":"mdamour1976","id":842922,"avatar_url":"https://avatars.githubusercontent.com/u/842922?v=3","gravatar_id":"","url":"https://api.github.com/users/mdamour1976","html_url":"https://github.com/mdamour1976","followers_url":"https://api.github.com/users/mdamour1976/followers","following_url":"https://api.github.com/users/mdamour1976/following{/other_user}","gists_url":"https://api.github.com/users/mdamour1976/gists{/gist_id}","starred_url":"https://api.github.com/users/mdamour1976/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdamour1976/subscriptions","organizations_url":"https://api.github.com/users/mdamour1976/orgs","repos_url":"https://api.github.com/users/mdamour1976/repos","events_url":"https://api.github.com/users/mdamour1976/events{/privacy}","received_events_url":"https://api.github.com/users/mdamour1976/received_events","type":"User","site_admin":false},"body":"checkstyle","created_at":"2015-04-15T03:39:48Z","updated_at":"2015-04-15T03:39:48Z","html_url":"https://github.com/pentaho/big-data-plugin/pull/336#discussion_r28391457","pull_request_url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336","_links":{"self":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/comments/28391457"},"html":{"href":"https://github.com/pentaho/big-data-plugin/pull/336#discussion_r28391457"},"pull_request":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336"}}},"pull_request":{"url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336","id":33286504,"html_url":"https://github.com/pentaho/big-data-plugin/pull/336","diff_url":"https://github.com/pentaho/big-data-plugin/pull/336.diff","patch_url":"https://github.com/pentaho/big-data-plugin/pull/336.patch","issue_url":"https://api.github.com/repos/pentaho/big-data-plugin/issues/336","number":336,"state":"open","locked":false,"title":"[BACKLOG-2972] NamedCluster enforcement implementation.","user":{"login":"e-cuellar","id":713962,"avatar_url":"https://avatars.githubusercontent.com/u/713962?v=3","gravatar_id":"","url":"https://api.github.com/users/e-cuellar","html_url":"https://github.com/e-cuellar","followers_url":"https://api.github.com/users/e-cuellar/followers","following_url":"https://api.github.com/users/e-cuellar/following{/other_user}","gists_url":"https://api.github.com/users/e-cuellar/gists{/gist_id}","starred_url":"https://api.github.com/users/e-cuellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-cuellar/subscriptions","organizations_url":"https://api.github.com/users/e-cuellar/orgs","repos_url":"https://api.github.com/users/e-cuellar/repos","events_url":"https://api.github.com/users/e-cuellar/events{/privacy}","received_events_url":"https://api.github.com/users/e-cuellar/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-14T18:36:48Z","updated_at":"2015-04-15T03:39:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eb51e105cd8a70edd182abffbbc83a3c6117c024","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336/commits","review_comments_url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336/comments","review_comment_url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pentaho/big-data-plugin/issues/336/comments","statuses_url":"https://api.github.com/repos/pentaho/big-data-plugin/statuses/dc023aa8f01148c62e7ef799ef612b6dab1df04c","head":{"label":"e-cuellar:BACKLOG-2972","ref":"BACKLOG-2972","sha":"dc023aa8f01148c62e7ef799ef612b6dab1df04c","user":{"login":"e-cuellar","id":713962,"avatar_url":"https://avatars.githubusercontent.com/u/713962?v=3","gravatar_id":"","url":"https://api.github.com/users/e-cuellar","html_url":"https://github.com/e-cuellar","followers_url":"https://api.github.com/users/e-cuellar/followers","following_url":"https://api.github.com/users/e-cuellar/following{/other_user}","gists_url":"https://api.github.com/users/e-cuellar/gists{/gist_id}","starred_url":"https://api.github.com/users/e-cuellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-cuellar/subscriptions","organizations_url":"https://api.github.com/users/e-cuellar/orgs","repos_url":"https://api.github.com/users/e-cuellar/repos","events_url":"https://api.github.com/users/e-cuellar/events{/privacy}","received_events_url":"https://api.github.com/users/e-cuellar/received_events","type":"User","site_admin":false},"repo":{"id":7446458,"name":"big-data-plugin","full_name":"e-cuellar/big-data-plugin","owner":{"login":"e-cuellar","id":713962,"avatar_url":"https://avatars.githubusercontent.com/u/713962?v=3","gravatar_id":"","url":"https://api.github.com/users/e-cuellar","html_url":"https://github.com/e-cuellar","followers_url":"https://api.github.com/users/e-cuellar/followers","following_url":"https://api.github.com/users/e-cuellar/following{/other_user}","gists_url":"https://api.github.com/users/e-cuellar/gists{/gist_id}","starred_url":"https://api.github.com/users/e-cuellar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-cuellar/subscriptions","organizations_url":"https://api.github.com/users/e-cuellar/orgs","repos_url":"https://api.github.com/users/e-cuellar/repos","events_url":"https://api.github.com/users/e-cuellar/events{/privacy}","received_events_url":"https://api.github.com/users/e-cuellar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/e-cuellar/big-data-plugin","description":"Kettle plugin that provides support for interacting within many \"big data\" projects including Hadoop, Hive, HBase, Cassandra, MongoDB, and others.","fork":true,"url":"https://api.github.com/repos/e-cuellar/big-data-plugin","forks_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/forks","keys_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/teams","hooks_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/hooks","issue_events_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/events","assignees_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/tags","blobs_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/languages","stargazers_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/stargazers","contributors_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/contributors","subscribers_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/subscribers","subscription_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/subscription","commits_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/merges","archive_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/downloads","issues_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/labels{/name}","releases_url":"https://api.github.com/repos/e-cuellar/big-data-plugin/releases{/id}","created_at":"2013-01-04T20:04:19Z","updated_at":"2015-04-08T17:45:07Z","pushed_at":"2015-04-14T18:24:50Z","git_url":"git://github.com/e-cuellar/big-data-plugin.git","ssh_url":"git@github.com:e-cuellar/big-data-plugin.git","clone_url":"https://github.com/e-cuellar/big-data-plugin.git","svn_url":"https://github.com/e-cuellar/big-data-plugin","homepage":null,"size":64728,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pentaho:master","ref":"master","sha":"bdf22fdcd1df19f7b571689eb80d8360c01475f8","user":{"login":"pentaho","id":1022787,"avatar_url":"https://avatars.githubusercontent.com/u/1022787?v=3","gravatar_id":"","url":"https://api.github.com/users/pentaho","html_url":"https://github.com/pentaho","followers_url":"https://api.github.com/users/pentaho/followers","following_url":"https://api.github.com/users/pentaho/following{/other_user}","gists_url":"https://api.github.com/users/pentaho/gists{/gist_id}","starred_url":"https://api.github.com/users/pentaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentaho/subscriptions","organizations_url":"https://api.github.com/users/pentaho/orgs","repos_url":"https://api.github.com/users/pentaho/repos","events_url":"https://api.github.com/users/pentaho/events{/privacy}","received_events_url":"https://api.github.com/users/pentaho/received_events","type":"Organization","site_admin":false},"repo":{"id":4514536,"name":"big-data-plugin","full_name":"pentaho/big-data-plugin","owner":{"login":"pentaho","id":1022787,"avatar_url":"https://avatars.githubusercontent.com/u/1022787?v=3","gravatar_id":"","url":"https://api.github.com/users/pentaho","html_url":"https://github.com/pentaho","followers_url":"https://api.github.com/users/pentaho/followers","following_url":"https://api.github.com/users/pentaho/following{/other_user}","gists_url":"https://api.github.com/users/pentaho/gists{/gist_id}","starred_url":"https://api.github.com/users/pentaho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pentaho/subscriptions","organizations_url":"https://api.github.com/users/pentaho/orgs","repos_url":"https://api.github.com/users/pentaho/repos","events_url":"https://api.github.com/users/pentaho/events{/privacy}","received_events_url":"https://api.github.com/users/pentaho/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pentaho/big-data-plugin","description":"Kettle plugin that provides support for interacting within many \"big data\" projects including Hadoop, Hive, HBase, Cassandra, MongoDB, and others.","fork":false,"url":"https://api.github.com/repos/pentaho/big-data-plugin","forks_url":"https://api.github.com/repos/pentaho/big-data-plugin/forks","keys_url":"https://api.github.com/repos/pentaho/big-data-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pentaho/big-data-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pentaho/big-data-plugin/teams","hooks_url":"https://api.github.com/repos/pentaho/big-data-plugin/hooks","issue_events_url":"https://api.github.com/repos/pentaho/big-data-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/pentaho/big-data-plugin/events","assignees_url":"https://api.github.com/repos/pentaho/big-data-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/pentaho/big-data-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/pentaho/big-data-plugin/tags","blobs_url":"https://api.github.com/repos/pentaho/big-data-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pentaho/big-data-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pentaho/big-data-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/pentaho/big-data-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pentaho/big-data-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/pentaho/big-data-plugin/languages","stargazers_url":"https://api.github.com/repos/pentaho/big-data-plugin/stargazers","contributors_url":"https://api.github.com/repos/pentaho/big-data-plugin/contributors","subscribers_url":"https://api.github.com/repos/pentaho/big-data-plugin/subscribers","subscription_url":"https://api.github.com/repos/pentaho/big-data-plugin/subscription","commits_url":"https://api.github.com/repos/pentaho/big-data-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/pentaho/big-data-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/pentaho/big-data-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/pentaho/big-data-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/pentaho/big-data-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/pentaho/big-data-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pentaho/big-data-plugin/merges","archive_url":"https://api.github.com/repos/pentaho/big-data-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pentaho/big-data-plugin/downloads","issues_url":"https://api.github.com/repos/pentaho/big-data-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/pentaho/big-data-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/pentaho/big-data-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/pentaho/big-data-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pentaho/big-data-plugin/labels{/name}","releases_url":"https://api.github.com/repos/pentaho/big-data-plugin/releases{/id}","created_at":"2012-06-01T00:22:36Z","updated_at":"2015-04-13T19:05:59Z","pushed_at":"2015-04-14T18:36:49Z","git_url":"git://github.com/pentaho/big-data-plugin.git","ssh_url":"git@github.com:pentaho/big-data-plugin.git","clone_url":"https://github.com/pentaho/big-data-plugin.git","svn_url":"https://github.com/pentaho/big-data-plugin","homepage":null,"size":69210,"stargazers_count":62,"watchers_count":62,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":10,"forks":105,"open_issues":10,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336"},"html":{"href":"https://github.com/pentaho/big-data-plugin/pull/336"},"issue":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/issues/336"},"comments":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/issues/336/comments"},"review_comments":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336/comments"},"review_comment":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/pulls/336/commits"},"statuses":{"href":"https://api.github.com/repos/pentaho/big-data-plugin/statuses/dc023aa8f01148c62e7ef799ef612b6dab1df04c"}}}}