{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9035","labels_url":"https://api.github.com/repos/apache/spark/issues/9035/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9035/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9035/events","html_url":"https://github.com/apache/spark/pull/9035","id":110539268,"number":9035,"title":"[SPARK-10858] YARN: archives/jar/files rename with # doesn't work unl","user":{"login":"tgravescs","id":4563792,"avatar_url":"https://avatars.githubusercontent.com/u/4563792?v=3","gravatar_id":"","url":"https://api.github.com/users/tgravescs","html_url":"https://github.com/tgravescs","followers_url":"https://api.github.com/users/tgravescs/followers","following_url":"https://api.github.com/users/tgravescs/following{/other_user}","gists_url":"https://api.github.com/users/tgravescs/gists{/gist_id}","starred_url":"https://api.github.com/users/tgravescs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgravescs/subscriptions","organizations_url":"https://api.github.com/users/tgravescs/orgs","repos_url":"https://api.github.com/users/tgravescs/repos","events_url":"https://api.github.com/users/tgravescs/events{/privacy}","received_events_url":"https://api.github.com/users/tgravescs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-08T20:55:26Z","updated_at":"2015-10-09T13:07:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9035","html_url":"https://github.com/apache/spark/pull/9035","diff_url":"https://github.com/apache/spark/pull/9035.diff","patch_url":"https://github.com/apache/spark/pull/9035.patch"},"body":"https://issues.apache.org/jira/browse/SPARK-10858\r\n\r\nThe issue here is that in resolveURI we default to calling new File(path).getAbsoluteFile().toURI().  But if the path passed in already has a # in it then File(path) will think that is supposed to be part of the actual file path and not a fragment so it changes # to %23. Then when we try to parse that  later in Client as a URI it doesn't recognize there is a fragment.\r\n\r\nso to fix we just check if there is a fragment, still create the File like we did before and then add the fragment back on."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/146866679","html_url":"https://github.com/apache/spark/pull/9035#issuecomment-146866679","issue_url":"https://api.github.com/repos/apache/spark/issues/9035","id":146866679,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T13:07:20Z","updated_at":"2015-10-09T13:07:20Z","body":"Merged build started."}}