{"action":"closed","number":9231,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9231","id":48502418,"html_url":"https://github.com/apache/spark/pull/9231","diff_url":"https://github.com/apache/spark/pull/9231.diff","patch_url":"https://github.com/apache/spark/pull/9231.patch","issue_url":"https://api.github.com/repos/apache/spark/issues/9231","number":9231,"state":"closed","locked":false,"title":"[SPARK-11264] ./bin/spark-class can't find assembly jars with certain GREP_OPTIONS set","user":{"login":"naisbitt","id":1154382,"avatar_url":"https://avatars.githubusercontent.com/u/1154382?v=3","gravatar_id":"","url":"https://api.github.com/users/naisbitt","html_url":"https://github.com/naisbitt","followers_url":"https://api.github.com/users/naisbitt/followers","following_url":"https://api.github.com/users/naisbitt/following{/other_user}","gists_url":"https://api.github.com/users/naisbitt/gists{/gist_id}","starred_url":"https://api.github.com/users/naisbitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naisbitt/subscriptions","organizations_url":"https://api.github.com/users/naisbitt/orgs","repos_url":"https://api.github.com/users/naisbitt/repos","events_url":"https://api.github.com/users/naisbitt/events{/privacy}","received_events_url":"https://api.github.com/users/naisbitt/received_events","type":"User","site_admin":false},"body":"Temporarily remove GREP_OPTIONS if set in bin/spark-class.\r\n\r\nSome GREP_OPTIONS will modify the output of the grep commands that are looking for the assembly jars.\r\nFor example, if the -n option is specified, the grep output will look like: \r\n5:spark-assembly-1.5.1-hadoop2.4.0.jar\r\n\r\nThis will not match the regular expressions, and so the jar files will not be found.  We could improve the regular expression to handle this case and trim off extra characters, but it is difficult to know which options may or may not be set.  Unsetting GREP_OPTIONS within the script handles all the cases and gives the desired output.","created_at":"2015-10-22T19:36:43Z","updated_at":"2015-10-24T17:22:56Z","closed_at":"2015-10-24T17:22:56Z","merged_at":null,"merge_commit_sha":"2fe829452ce333f9d4b47c39878d211cf881857c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/spark/pulls/9231/commits","review_comments_url":"https://api.github.com/repos/apache/spark/pulls/9231/comments","review_comment_url":"https://api.github.com/repos/apache/spark/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/spark/issues/9231/comments","statuses_url":"https://api.github.com/repos/apache/spark/statuses/5f6c4719188b77b5f7357a168ba4509748591606","head":{"label":"naisbitt:unset-GREP_OPTIONS","ref":"unset-GREP_OPTIONS","sha":"5f6c4719188b77b5f7357a168ba4509748591606","user":{"login":"naisbitt","id":1154382,"avatar_url":"https://avatars.githubusercontent.com/u/1154382?v=3","gravatar_id":"","url":"https://api.github.com/users/naisbitt","html_url":"https://github.com/naisbitt","followers_url":"https://api.github.com/users/naisbitt/followers","following_url":"https://api.github.com/users/naisbitt/following{/other_user}","gists_url":"https://api.github.com/users/naisbitt/gists{/gist_id}","starred_url":"https://api.github.com/users/naisbitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naisbitt/subscriptions","organizations_url":"https://api.github.com/users/naisbitt/orgs","repos_url":"https://api.github.com/users/naisbitt/repos","events_url":"https://api.github.com/users/naisbitt/events{/privacy}","received_events_url":"https://api.github.com/users/naisbitt/received_events","type":"User","site_admin":false},"repo":{"id":44767577,"name":"spark","full_name":"naisbitt/spark","owner":{"login":"naisbitt","id":1154382,"avatar_url":"https://avatars.githubusercontent.com/u/1154382?v=3","gravatar_id":"","url":"https://api.github.com/users/naisbitt","html_url":"https://github.com/naisbitt","followers_url":"https://api.github.com/users/naisbitt/followers","following_url":"https://api.github.com/users/naisbitt/following{/other_user}","gists_url":"https://api.github.com/users/naisbitt/gists{/gist_id}","starred_url":"https://api.github.com/users/naisbitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naisbitt/subscriptions","organizations_url":"https://api.github.com/users/naisbitt/orgs","repos_url":"https://api.github.com/users/naisbitt/repos","events_url":"https://api.github.com/users/naisbitt/events{/privacy}","received_events_url":"https://api.github.com/users/naisbitt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/naisbitt/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/naisbitt/spark","forks_url":"https://api.github.com/repos/naisbitt/spark/forks","keys_url":"https://api.github.com/repos/naisbitt/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/naisbitt/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/naisbitt/spark/teams","hooks_url":"https://api.github.com/repos/naisbitt/spark/hooks","issue_events_url":"https://api.github.com/repos/naisbitt/spark/issues/events{/number}","events_url":"https://api.github.com/repos/naisbitt/spark/events","assignees_url":"https://api.github.com/repos/naisbitt/spark/assignees{/user}","branches_url":"https://api.github.com/repos/naisbitt/spark/branches{/branch}","tags_url":"https://api.github.com/repos/naisbitt/spark/tags","blobs_url":"https://api.github.com/repos/naisbitt/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/naisbitt/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/naisbitt/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/naisbitt/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/naisbitt/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/naisbitt/spark/languages","stargazers_url":"https://api.github.com/repos/naisbitt/spark/stargazers","contributors_url":"https://api.github.com/repos/naisbitt/spark/contributors","subscribers_url":"https://api.github.com/repos/naisbitt/spark/subscribers","subscription_url":"https://api.github.com/repos/naisbitt/spark/subscription","commits_url":"https://api.github.com/repos/naisbitt/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/naisbitt/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/naisbitt/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/naisbitt/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/naisbitt/spark/contents/{+path}","compare_url":"https://api.github.com/repos/naisbitt/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/naisbitt/spark/merges","archive_url":"https://api.github.com/repos/naisbitt/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/naisbitt/spark/downloads","issues_url":"https://api.github.com/repos/naisbitt/spark/issues{/number}","pulls_url":"https://api.github.com/repos/naisbitt/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/naisbitt/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/naisbitt/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/naisbitt/spark/labels{/name}","releases_url":"https://api.github.com/repos/naisbitt/spark/releases{/id}","created_at":"2015-10-22T19:13:58Z","updated_at":"2015-10-22T19:14:29Z","pushed_at":"2015-10-22T19:26:19Z","git_url":"git://github.com/naisbitt/spark.git","ssh_url":"git@github.com:naisbitt/spark.git","clone_url":"https://github.com/naisbitt/spark.git","svn_url":"https://github.com/naisbitt/spark","homepage":null,"size":128660,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"apache:master","ref":"master","sha":"3535b91ddc9fd05b613a121e09263b0f378bd5fa","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":17165658,"name":"spark","full_name":"apache/spark","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/spark","description":"Mirror of Apache Spark","fork":false,"url":"https://api.github.com/repos/apache/spark","forks_url":"https://api.github.com/repos/apache/spark/forks","keys_url":"https://api.github.com/repos/apache/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/spark/teams","hooks_url":"https://api.github.com/repos/apache/spark/hooks","issue_events_url":"https://api.github.com/repos/apache/spark/issues/events{/number}","events_url":"https://api.github.com/repos/apache/spark/events","assignees_url":"https://api.github.com/repos/apache/spark/assignees{/user}","branches_url":"https://api.github.com/repos/apache/spark/branches{/branch}","tags_url":"https://api.github.com/repos/apache/spark/tags","blobs_url":"https://api.github.com/repos/apache/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/spark/languages","stargazers_url":"https://api.github.com/repos/apache/spark/stargazers","contributors_url":"https://api.github.com/repos/apache/spark/contributors","subscribers_url":"https://api.github.com/repos/apache/spark/subscribers","subscription_url":"https://api.github.com/repos/apache/spark/subscription","commits_url":"https://api.github.com/repos/apache/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/spark/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/spark/contents/{+path}","compare_url":"https://api.github.com/repos/apache/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/spark/merges","archive_url":"https://api.github.com/repos/apache/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/spark/downloads","issues_url":"https://api.github.com/repos/apache/spark/issues{/number}","pulls_url":"https://api.github.com/repos/apache/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/spark/labels{/name}","releases_url":"https://api.github.com/repos/apache/spark/releases{/id}","created_at":"2014-02-25T08:00:08Z","updated_at":"2015-10-24T16:46:59Z","pushed_at":"2015-10-24T17:22:06Z","git_url":"git://github.com/apache/spark.git","ssh_url":"git@github.com:apache/spark.git","clone_url":"https://github.com/apache/spark.git","svn_url":"https://github.com/apache/spark","homepage":null,"size":1641275,"stargazers_count":5868,"watchers_count":5868,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5476,"mirror_url":"git://git.apache.org/spark.git","open_issues_count":338,"forks":5476,"open_issues":338,"watchers":5868,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/spark/pulls/9231"},"html":{"href":"https://github.com/apache/spark/pull/9231"},"issue":{"href":"https://api.github.com/repos/apache/spark/issues/9231"},"comments":{"href":"https://api.github.com/repos/apache/spark/issues/9231/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/spark/pulls/9231/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/spark/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/spark/pulls/9231/commits"},"statuses":{"href":"https://api.github.com/repos/apache/spark/statuses/5f6c4719188b77b5f7357a168ba4509748591606"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}