{"action":"created","comment":{"url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/comments/37266852","id":37266852,"diff_hunk":"@@ -0,0 +1,67 @@\n+#!/usr/bin/env bash\n+# Licensed to the Apache Software Foundation (ASF) under one or more\n+# contributor license agreements.  See the NOTICE file distributed with\n+# this work for additional information regarding copyright ownership.\n+# The ASF licenses this file to You under the Apache License, Version 2.0\n+# (the \"License\"); you may not use this file except in compliance with\n+# the License.  You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+#shellcheck disable=SC2034\n+PATCH_BRANCH_DEFAULT=master\n+#shellcheck disable=SC2034\n+JIRA_ISSUE_RE='^BIGTOP-[0-9]+$'\n+#shellcheck disable=SC2034\n+HOW_TO_CONTRIBUTE=\"\"\n+# shellcheck disable=SC2034\n+BUILDTOOL=gradle\n+#shellcheck disable=SC2034\n+GITHUB_REPO=\"apache/bigtop\"\n+\n+BIGTOP_PUPPETSETUP=false\n+\n+add_plugin bigtop\n+\n+function bigtop_usage\n+{\n+  echo \"Bigtop specific:\"\n+  echo \"--bigtop-puppet=[false|true]   execute the bigtop dev setup (needs sudo to root)\"\n+}\n+\n+function bigtop_parse_args\n+{\n+  local i\n+\n+  for i in \"$@\"; do\n+    case ${i} in\n+      --bigtop-puppet=*)\n+        BIGTOP_PUPPETSETUP=${i#*=}\n+      ;;\n+    esac\n+  done\n+}\n+\n+function bigtop_precheck_postinstall\n+{\n+  if [[ ${BIGTOP_PUPPET} = \"true\" ]]; then\n+    pushd \"${BASEDIR}\" >/dev/null\n+    echo_and_redirect \"${PATCH_DIR}/bigtop-branch-toolchain.txt\" ${GRADLEW} toolchain","path":"dev-support/personality/bigtop.sh","position":55,"original_position":55,"commit_id":"90438b8a7e35bbaa8bc4f5cfe338083fcc2d1c99","original_commit_id":"90438b8a7e35bbaa8bc4f5cfe338083fcc2d1c99","user":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"body":"shellcheck: 66: note: Double quote to prevent globbing and word splitting. [SC2086]\r\n","created_at":"2015-08-18T06:11:38Z","updated_at":"2015-08-18T06:11:38Z","html_url":"https://github.com/aw-altiscale/hadoop/pull/2#discussion_r37266852","pull_request_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/comments/37266852"},"html":{"href":"https://github.com/aw-altiscale/hadoop/pull/2#discussion_r37266852"},"pull_request":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2","id":42512005,"html_url":"https://github.com/aw-altiscale/hadoop/pull/2","diff_url":"https://github.com/aw-altiscale/hadoop/pull/2.diff","patch_url":"https://github.com/aw-altiscale/hadoop/pull/2.patch","issue_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/2","number":2,"state":"open","locked":false,"title":"H12257","user":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-15T02:24:46Z","updated_at":"2015-08-18T06:11:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d1825b46d5ba65ff6a7e7f9067d58d8d7102f73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2/commits","review_comments_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2/comments","review_comment_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/2/comments","statuses_url":"https://api.github.com/repos/aw-altiscale/hadoop/statuses/90438b8a7e35bbaa8bc4f5cfe338083fcc2d1c99","head":{"label":"aw-altiscale:h12257","ref":"h12257","sha":"90438b8a7e35bbaa8bc4f5cfe338083fcc2d1c99","user":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"repo":{"id":31517368,"name":"hadoop","full_name":"aw-altiscale/hadoop","owner":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aw-altiscale/hadoop","description":"Mirror of Apache Hadoop","fork":true,"url":"https://api.github.com/repos/aw-altiscale/hadoop","forks_url":"https://api.github.com/repos/aw-altiscale/hadoop/forks","keys_url":"https://api.github.com/repos/aw-altiscale/hadoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aw-altiscale/hadoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aw-altiscale/hadoop/teams","hooks_url":"https://api.github.com/repos/aw-altiscale/hadoop/hooks","issue_events_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/events{/number}","events_url":"https://api.github.com/repos/aw-altiscale/hadoop/events","assignees_url":"https://api.github.com/repos/aw-altiscale/hadoop/assignees{/user}","branches_url":"https://api.github.com/repos/aw-altiscale/hadoop/branches{/branch}","tags_url":"https://api.github.com/repos/aw-altiscale/hadoop/tags","blobs_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aw-altiscale/hadoop/statuses/{sha}","languages_url":"https://api.github.com/repos/aw-altiscale/hadoop/languages","stargazers_url":"https://api.github.com/repos/aw-altiscale/hadoop/stargazers","contributors_url":"https://api.github.com/repos/aw-altiscale/hadoop/contributors","subscribers_url":"https://api.github.com/repos/aw-altiscale/hadoop/subscribers","subscription_url":"https://api.github.com/repos/aw-altiscale/hadoop/subscription","commits_url":"https://api.github.com/repos/aw-altiscale/hadoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/aw-altiscale/hadoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/aw-altiscale/hadoop/contents/{+path}","compare_url":"https://api.github.com/repos/aw-altiscale/hadoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aw-altiscale/hadoop/merges","archive_url":"https://api.github.com/repos/aw-altiscale/hadoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aw-altiscale/hadoop/downloads","issues_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues{/number}","pulls_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls{/number}","milestones_url":"https://api.github.com/repos/aw-altiscale/hadoop/milestones{/number}","notifications_url":"https://api.github.com/repos/aw-altiscale/hadoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aw-altiscale/hadoop/labels{/name}","releases_url":"https://api.github.com/repos/aw-altiscale/hadoop/releases{/id}","created_at":"2015-03-02T00:59:54Z","updated_at":"2015-04-22T07:27:17Z","pushed_at":"2015-08-18T05:14:04Z","git_url":"git://github.com/aw-altiscale/hadoop.git","ssh_url":"git@github.com:aw-altiscale/hadoop.git","clone_url":"https://github.com/aw-altiscale/hadoop.git","svn_url":"https://github.com/aw-altiscale/hadoop","homepage":null,"size":299117,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"trunk"}},"base":{"label":"aw-altiscale:HADOOP-12111","ref":"HADOOP-12111","sha":"86a10252f7661ce7799f2768d5b19b2aa098092f","user":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"repo":{"id":31517368,"name":"hadoop","full_name":"aw-altiscale/hadoop","owner":{"login":"aw-altiscale","id":7633626,"avatar_url":"https://avatars.githubusercontent.com/u/7633626?v=3","gravatar_id":"","url":"https://api.github.com/users/aw-altiscale","html_url":"https://github.com/aw-altiscale","followers_url":"https://api.github.com/users/aw-altiscale/followers","following_url":"https://api.github.com/users/aw-altiscale/following{/other_user}","gists_url":"https://api.github.com/users/aw-altiscale/gists{/gist_id}","starred_url":"https://api.github.com/users/aw-altiscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aw-altiscale/subscriptions","organizations_url":"https://api.github.com/users/aw-altiscale/orgs","repos_url":"https://api.github.com/users/aw-altiscale/repos","events_url":"https://api.github.com/users/aw-altiscale/events{/privacy}","received_events_url":"https://api.github.com/users/aw-altiscale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aw-altiscale/hadoop","description":"Mirror of Apache Hadoop","fork":true,"url":"https://api.github.com/repos/aw-altiscale/hadoop","forks_url":"https://api.github.com/repos/aw-altiscale/hadoop/forks","keys_url":"https://api.github.com/repos/aw-altiscale/hadoop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aw-altiscale/hadoop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aw-altiscale/hadoop/teams","hooks_url":"https://api.github.com/repos/aw-altiscale/hadoop/hooks","issue_events_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/events{/number}","events_url":"https://api.github.com/repos/aw-altiscale/hadoop/events","assignees_url":"https://api.github.com/repos/aw-altiscale/hadoop/assignees{/user}","branches_url":"https://api.github.com/repos/aw-altiscale/hadoop/branches{/branch}","tags_url":"https://api.github.com/repos/aw-altiscale/hadoop/tags","blobs_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/refs{/sha}","trees_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aw-altiscale/hadoop/statuses/{sha}","languages_url":"https://api.github.com/repos/aw-altiscale/hadoop/languages","stargazers_url":"https://api.github.com/repos/aw-altiscale/hadoop/stargazers","contributors_url":"https://api.github.com/repos/aw-altiscale/hadoop/contributors","subscribers_url":"https://api.github.com/repos/aw-altiscale/hadoop/subscribers","subscription_url":"https://api.github.com/repos/aw-altiscale/hadoop/subscription","commits_url":"https://api.github.com/repos/aw-altiscale/hadoop/commits{/sha}","git_commits_url":"https://api.github.com/repos/aw-altiscale/hadoop/git/commits{/sha}","comments_url":"https://api.github.com/repos/aw-altiscale/hadoop/comments{/number}","issue_comment_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues/comments{/number}","contents_url":"https://api.github.com/repos/aw-altiscale/hadoop/contents/{+path}","compare_url":"https://api.github.com/repos/aw-altiscale/hadoop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aw-altiscale/hadoop/merges","archive_url":"https://api.github.com/repos/aw-altiscale/hadoop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aw-altiscale/hadoop/downloads","issues_url":"https://api.github.com/repos/aw-altiscale/hadoop/issues{/number}","pulls_url":"https://api.github.com/repos/aw-altiscale/hadoop/pulls{/number}","milestones_url":"https://api.github.com/repos/aw-altiscale/hadoop/milestones{/number}","notifications_url":"https://api.github.com/repos/aw-altiscale/hadoop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aw-altiscale/hadoop/labels{/name}","releases_url":"https://api.github.com/repos/aw-altiscale/hadoop/releases{/id}","created_at":"2015-03-02T00:59:54Z","updated_at":"2015-04-22T07:27:17Z","pushed_at":"2015-08-18T05:14:04Z","git_url":"git://github.com/aw-altiscale/hadoop.git","ssh_url":"git@github.com:aw-altiscale/hadoop.git","clone_url":"https://github.com/aw-altiscale/hadoop.git","svn_url":"https://github.com/aw-altiscale/hadoop","homepage":null,"size":299117,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2"},"html":{"href":"https://github.com/aw-altiscale/hadoop/pull/2"},"issue":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/issues/2"},"comments":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/aw-altiscale/hadoop/statuses/90438b8a7e35bbaa8bc4f5cfe338083fcc2d1c99"}}}}