{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10456","labels_url":"https://api.github.com/repos/apache/spark/issues/10456/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10456/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10456/events","html_url":"https://github.com/apache/spark/pull/10456","id":123719747,"number":10456,"title":"[SPARK-12517] add default RDD name for one created via sc.textFile","user":{"login":"wyaron","id":15813013,"avatar_url":"https://avatars.githubusercontent.com/u/15813013?v=3","gravatar_id":"","url":"https://api.github.com/users/wyaron","html_url":"https://github.com/wyaron","followers_url":"https://api.github.com/users/wyaron/followers","following_url":"https://api.github.com/users/wyaron/following{/other_user}","gists_url":"https://api.github.com/users/wyaron/gists{/gist_id}","starred_url":"https://api.github.com/users/wyaron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyaron/subscriptions","organizations_url":"https://api.github.com/users/wyaron/orgs","repos_url":"https://api.github.com/users/wyaron/repos","events_url":"https://api.github.com/users/wyaron/events{/privacy}","received_events_url":"https://api.github.com/users/wyaron/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-23T20:39:06Z","updated_at":"2015-12-24T14:27:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10456","html_url":"https://github.com/apache/spark/pull/10456","diff_url":"https://github.com/apache/spark/pull/10456.diff","patch_url":"https://github.com/apache/spark/pull/10456.patch"},"body":"The feature was first added at commit: 7b877b27053bfb7092e250e01a3b887e1b50a109 but was later removed (probably by mistake) at commit: fc8b58195afa67fbb75b4c8303e022f703cbf007. \r\nThis change sets the default path of RDDs created via sc.textFile(...) to the path argument.\r\n\r\nHere is the symptom:\r\n\r\n* Using spark-1.5.2-bin-hadoop2.6:\r\n\r\nscala> sc.textFile(\"/home/root/.bashrc\").name\r\nres5: String = null\r\n\r\nscala> sc.binaryFiles(\"/home/root/.bashrc\").name\r\nres6: String = /home/root/.bashrc\r\n\r\n* while using Spark 1.3.1:\r\n\r\nscala> sc.textFile(\"/home/root/.bashrc\").name\r\nres0: String = /home/root/.bashrc\r\n\r\nscala> sc.binaryFiles(\"/home/root/.bashrc\").name\r\nres1: String = /home/root/.bashrc\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/167118255","html_url":"https://github.com/apache/spark/pull/10456#issuecomment-167118255","issue_url":"https://api.github.com/repos/apache/spark/issues/10456","id":167118255,"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-12-24T14:27:22Z","updated_at":"2015-12-24T14:27:22Z","body":"Merged build finished. Test FAILed."}}