{"action":"created","comment":{"url":"https://api.github.com/repos/VoltDB/voltdb/pulls/comments/77696682","id":77696682,"diff_hunk":"@@ -0,0 +1,135 @@\n+#!/usr/bin/env bash\n+\n+# This file is part of VoltDB.\n+\n+# Copyright (C) 2008-2016 VoltDB Inc.\n+#\n+# This file contains original code and/or modifications of original code.\n+# Any modifications made by VoltDB Inc. are licensed under the following\n+# terms and conditions:\n+#\n+# Permission is hereby granted, free of charge, to any person obtaining\n+# a copy of this software and associated documentation files (the\n+# \"Software\"), to deal in the Software without restriction, including\n+# without limitation the rights to use, copy, modify, merge, publish,\n+# distribute, sublicense, and/or sell copies of the Software, and to\n+# permit persons to whom the Software is furnished to do so, subject to\n+# the following conditions:\n+#\n+# The above copyright notice and this permission notice shall be\n+# included in all copies or substantial portions of the Software.\n+\n+# THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n+# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n+# OTHER DEALINGS IN THE SOFTWARE.\n+\n+# Original license for parts of this script copied from or influenced by\n+# the Hadoop startup script:\n+#\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+\n+# This is a topic consumer tester script that uses VoltDB importer. No offset commits are done.\n+#\n+# Environment Variables\n+#   JAVA_HOME        The java implementation to use.  Overrides JAVA_HOME.\n+#   JAVA_HEAP_MAX    The maximum amount of heap to use, in MB. Default is 1024.\n+#   VOLTDB_OPTS     Extra Java runtime options.\n+#   LOG4J_CONFIG_PATH     Path to alternate log4j configuration\n+\n+# resolve symlinks and canonicalize the path (make it absolute)\n+pushd . > /dev/null\n+this=$0\n+cd `dirname $this`\n+this=`basename $this`\n+while [ -L \"$this\" ]\n+do\n+    this=`readlink $this`\n+    cd `dirname $this`\n+    this=`basename $this`\n+done\n+this=\"$(pwd -P)/$this\"\n+popd > /dev/null\n+# the root of the VoltDB installation\n+export VOLTDB_HOME=$(dirname $(dirname \"$this\"))\n+\n+# detect and adjust for Linux package installation vs. VoltDB distribution\n+if [ -d $VOLTDB_HOME/../../lib/voltdb ]; then\n+    # Linux package installation puts all libraries in /usr/lib/voltdb\n+    VOLTDB_VOLTDB=$(dirname $(dirname \"$VOLTDB_HOME\"))/lib/voltdb\n+    VOLTDB_LIB=$VOLTDB_VOLTDB\n+else\n+    # distribution puts third party jars in lib and voltdb libraries in voltdb\n+    VOLTDB_VOLTDB=$VOLTDB_HOME/voltdb\n+    VOLTDB_LIB=$VOLTDB_HOME/lib\n+fi\n+\n+JAVA=`which java`\n+if [ x\"$JAVA_HEAP_MAX\" = \"x\" ]\n+then\n+    JAVA_HEAP_MAX=-Xmx2048m\n+fi\n+\n+# some Java parameters\n+if [ \"$JAVA_HOME\" != \"\" ]; then\n+  #echo \"run java in $JAVA_HOME\"\n+  JAVA=$JAVA_HOME/bin/java\n+fi\n+\n+if [ \"$JAVA\" = \"\" ]; then\n+  echo \"Couldn't find java version to run (make sure JAVA_HOME is set).\"\n+  exit 1\n+fi\n+\n+# check envvars to see if a user overrides log4j conf\n+if [ -z \"${LOG4J_CONFIG_PATH}\" ]; then\n+  if [ -f \"$VOLTDB_HOME/src/frontend/log4j.xml\" ]; then\n+    LOG4J_CONFIG_PATH=$VOLTDB_HOME/src/frontend/log4j.xml\n+  elif [ -f \"$VOLTDB_HOME/voltdb/log4j.xml\" ]; then\n+    LOG4J_CONFIG_PATH=$VOLTDB_HOME/voltdb/log4j.xml\n+  else\n+    echo \"Couldn't find log4j configuration file.\"\n+    exit 1\n+  fi\n+fi\n+\n+VOLTDBJAR=`ls $VOLTDB_VOLTDB/voltdb-[0-9].*.jar | grep -v \"doc.jar\" | head -1`\n+if [ -n \"${VOLTDBJAR}\" ]; then\n+  CLASSPATH=$VOLTDBJAR\n+else\n+  echo \"Couldn't find compiled VoltDB jar to run.\"\n+  exit 1\n+fi\n+\n+# add bundles to CLASSPATH\n+for f in $VOLTDB_LIB/../bundles/*.jar; do","path":"tools/testkafkaimporter","position":122,"original_position":122,"commit_id":"0da5f53d0841500e0402bde8185acefac8a1b82a","original_commit_id":"0da5f53d0841500e0402bde8185acefac8a1b82a","user":{"login":"vtkstef","id":662716,"avatar_url":"https://avatars.githubusercontent.com/u/662716?v=3","gravatar_id":"","url":"https://api.github.com/users/vtkstef","html_url":"https://github.com/vtkstef","followers_url":"https://api.github.com/users/vtkstef/followers","following_url":"https://api.github.com/users/vtkstef/following{/other_user}","gists_url":"https://api.github.com/users/vtkstef/gists{/gist_id}","starred_url":"https://api.github.com/users/vtkstef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtkstef/subscriptions","organizations_url":"https://api.github.com/users/vtkstef/orgs","repos_url":"https://api.github.com/users/vtkstef/repos","events_url":"https://api.github.com/users/vtkstef/events{/privacy}","received_events_url":"https://api.github.com/users/vtkstef/received_events","type":"User","site_admin":false},"body":"all the bundles???","created_at":"2016-09-06T18:54:17Z","updated_at":"2016-09-06T18:54:17Z","html_url":"https://github.com/VoltDB/voltdb/pull/3902#discussion_r77696682","pull_request_url":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902","_links":{"self":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/comments/77696682"},"html":{"href":"https://github.com/VoltDB/voltdb/pull/3902#discussion_r77696682"},"pull_request":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902"}}},"pull_request":{"url":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902","id":83816246,"html_url":"https://github.com/VoltDB/voltdb/pull/3902","diff_url":"https://github.com/VoltDB/voltdb/pull/3902.diff","patch_url":"https://github.com/VoltDB/voltdb/pull/3902.patch","issue_url":"https://api.github.com/repos/VoltDB/voltdb/issues/3902","number":3902,"state":"open","locked":false,"title":"Kafka tester","user":{"login":"akhanzode","id":1675698,"avatar_url":"https://avatars.githubusercontent.com/u/1675698?v=3","gravatar_id":"","url":"https://api.github.com/users/akhanzode","html_url":"https://github.com/akhanzode","followers_url":"https://api.github.com/users/akhanzode/followers","following_url":"https://api.github.com/users/akhanzode/following{/other_user}","gists_url":"https://api.github.com/users/akhanzode/gists{/gist_id}","starred_url":"https://api.github.com/users/akhanzode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhanzode/subscriptions","organizations_url":"https://api.github.com/users/akhanzode/orgs","repos_url":"https://api.github.com/users/akhanzode/repos","events_url":"https://api.github.com/users/akhanzode/events{/privacy}","received_events_url":"https://api.github.com/users/akhanzode/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-02T15:00:31Z","updated_at":"2016-09-06T18:54:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8911c4aa0cdc46fcc087e69ca90e37b4fd42446a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902/commits","review_comments_url":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902/comments","review_comment_url":"https://api.github.com/repos/VoltDB/voltdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/VoltDB/voltdb/issues/3902/comments","statuses_url":"https://api.github.com/repos/VoltDB/voltdb/statuses/0da5f53d0841500e0402bde8185acefac8a1b82a","head":{"label":"VoltDB:kafka-tester","ref":"kafka-tester","sha":"0da5f53d0841500e0402bde8185acefac8a1b82a","user":{"login":"VoltDB","id":703910,"avatar_url":"https://avatars.githubusercontent.com/u/703910?v=3","gravatar_id":"","url":"https://api.github.com/users/VoltDB","html_url":"https://github.com/VoltDB","followers_url":"https://api.github.com/users/VoltDB/followers","following_url":"https://api.github.com/users/VoltDB/following{/other_user}","gists_url":"https://api.github.com/users/VoltDB/gists{/gist_id}","starred_url":"https://api.github.com/users/VoltDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoltDB/subscriptions","organizations_url":"https://api.github.com/users/VoltDB/orgs","repos_url":"https://api.github.com/users/VoltDB/repos","events_url":"https://api.github.com/users/VoltDB/events{/privacy}","received_events_url":"https://api.github.com/users/VoltDB/received_events","type":"Organization","site_admin":false},"repo":{"id":2445970,"name":"voltdb","full_name":"VoltDB/voltdb","owner":{"login":"VoltDB","id":703910,"avatar_url":"https://avatars.githubusercontent.com/u/703910?v=3","gravatar_id":"","url":"https://api.github.com/users/VoltDB","html_url":"https://github.com/VoltDB","followers_url":"https://api.github.com/users/VoltDB/followers","following_url":"https://api.github.com/users/VoltDB/following{/other_user}","gists_url":"https://api.github.com/users/VoltDB/gists{/gist_id}","starred_url":"https://api.github.com/users/VoltDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoltDB/subscriptions","organizations_url":"https://api.github.com/users/VoltDB/orgs","repos_url":"https://api.github.com/users/VoltDB/repos","events_url":"https://api.github.com/users/VoltDB/events{/privacy}","received_events_url":"https://api.github.com/users/VoltDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VoltDB/voltdb","description":"VoltDB","fork":false,"url":"https://api.github.com/repos/VoltDB/voltdb","forks_url":"https://api.github.com/repos/VoltDB/voltdb/forks","keys_url":"https://api.github.com/repos/VoltDB/voltdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VoltDB/voltdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VoltDB/voltdb/teams","hooks_url":"https://api.github.com/repos/VoltDB/voltdb/hooks","issue_events_url":"https://api.github.com/repos/VoltDB/voltdb/issues/events{/number}","events_url":"https://api.github.com/repos/VoltDB/voltdb/events","assignees_url":"https://api.github.com/repos/VoltDB/voltdb/assignees{/user}","branches_url":"https://api.github.com/repos/VoltDB/voltdb/branches{/branch}","tags_url":"https://api.github.com/repos/VoltDB/voltdb/tags","blobs_url":"https://api.github.com/repos/VoltDB/voltdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VoltDB/voltdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VoltDB/voltdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/VoltDB/voltdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VoltDB/voltdb/statuses/{sha}","languages_url":"https://api.github.com/repos/VoltDB/voltdb/languages","stargazers_url":"https://api.github.com/repos/VoltDB/voltdb/stargazers","contributors_url":"https://api.github.com/repos/VoltDB/voltdb/contributors","subscribers_url":"https://api.github.com/repos/VoltDB/voltdb/subscribers","subscription_url":"https://api.github.com/repos/VoltDB/voltdb/subscription","commits_url":"https://api.github.com/repos/VoltDB/voltdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/VoltDB/voltdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/VoltDB/voltdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/VoltDB/voltdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/VoltDB/voltdb/contents/{+path}","compare_url":"https://api.github.com/repos/VoltDB/voltdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VoltDB/voltdb/merges","archive_url":"https://api.github.com/repos/VoltDB/voltdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VoltDB/voltdb/downloads","issues_url":"https://api.github.com/repos/VoltDB/voltdb/issues{/number}","pulls_url":"https://api.github.com/repos/VoltDB/voltdb/pulls{/number}","milestones_url":"https://api.github.com/repos/VoltDB/voltdb/milestones{/number}","notifications_url":"https://api.github.com/repos/VoltDB/voltdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VoltDB/voltdb/labels{/name}","releases_url":"https://api.github.com/repos/VoltDB/voltdb/releases{/id}","deployments_url":"https://api.github.com/repos/VoltDB/voltdb/deployments","created_at":"2011-09-23T18:46:12Z","updated_at":"2016-09-04T02:05:39Z","pushed_at":"2016-09-06T18:02:33Z","git_url":"git://github.com/VoltDB/voltdb.git","ssh_url":"git@github.com:VoltDB/voltdb.git","clone_url":"https://github.com/VoltDB/voltdb.git","svn_url":"https://github.com/VoltDB/voltdb","homepage":"http://community.voltdb.com/","size":618494,"stargazers_count":850,"watchers_count":850,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":262,"mirror_url":null,"open_issues_count":54,"forks":262,"open_issues":54,"watchers":850,"default_branch":"master"}},"base":{"label":"VoltDB:master","ref":"master","sha":"1fc66ebffb00bb200b9a91cfe30e936a01152af0","user":{"login":"VoltDB","id":703910,"avatar_url":"https://avatars.githubusercontent.com/u/703910?v=3","gravatar_id":"","url":"https://api.github.com/users/VoltDB","html_url":"https://github.com/VoltDB","followers_url":"https://api.github.com/users/VoltDB/followers","following_url":"https://api.github.com/users/VoltDB/following{/other_user}","gists_url":"https://api.github.com/users/VoltDB/gists{/gist_id}","starred_url":"https://api.github.com/users/VoltDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoltDB/subscriptions","organizations_url":"https://api.github.com/users/VoltDB/orgs","repos_url":"https://api.github.com/users/VoltDB/repos","events_url":"https://api.github.com/users/VoltDB/events{/privacy}","received_events_url":"https://api.github.com/users/VoltDB/received_events","type":"Organization","site_admin":false},"repo":{"id":2445970,"name":"voltdb","full_name":"VoltDB/voltdb","owner":{"login":"VoltDB","id":703910,"avatar_url":"https://avatars.githubusercontent.com/u/703910?v=3","gravatar_id":"","url":"https://api.github.com/users/VoltDB","html_url":"https://github.com/VoltDB","followers_url":"https://api.github.com/users/VoltDB/followers","following_url":"https://api.github.com/users/VoltDB/following{/other_user}","gists_url":"https://api.github.com/users/VoltDB/gists{/gist_id}","starred_url":"https://api.github.com/users/VoltDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VoltDB/subscriptions","organizations_url":"https://api.github.com/users/VoltDB/orgs","repos_url":"https://api.github.com/users/VoltDB/repos","events_url":"https://api.github.com/users/VoltDB/events{/privacy}","received_events_url":"https://api.github.com/users/VoltDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/VoltDB/voltdb","description":"VoltDB","fork":false,"url":"https://api.github.com/repos/VoltDB/voltdb","forks_url":"https://api.github.com/repos/VoltDB/voltdb/forks","keys_url":"https://api.github.com/repos/VoltDB/voltdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VoltDB/voltdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VoltDB/voltdb/teams","hooks_url":"https://api.github.com/repos/VoltDB/voltdb/hooks","issue_events_url":"https://api.github.com/repos/VoltDB/voltdb/issues/events{/number}","events_url":"https://api.github.com/repos/VoltDB/voltdb/events","assignees_url":"https://api.github.com/repos/VoltDB/voltdb/assignees{/user}","branches_url":"https://api.github.com/repos/VoltDB/voltdb/branches{/branch}","tags_url":"https://api.github.com/repos/VoltDB/voltdb/tags","blobs_url":"https://api.github.com/repos/VoltDB/voltdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VoltDB/voltdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VoltDB/voltdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/VoltDB/voltdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VoltDB/voltdb/statuses/{sha}","languages_url":"https://api.github.com/repos/VoltDB/voltdb/languages","stargazers_url":"https://api.github.com/repos/VoltDB/voltdb/stargazers","contributors_url":"https://api.github.com/repos/VoltDB/voltdb/contributors","subscribers_url":"https://api.github.com/repos/VoltDB/voltdb/subscribers","subscription_url":"https://api.github.com/repos/VoltDB/voltdb/subscription","commits_url":"https://api.github.com/repos/VoltDB/voltdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/VoltDB/voltdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/VoltDB/voltdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/VoltDB/voltdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/VoltDB/voltdb/contents/{+path}","compare_url":"https://api.github.com/repos/VoltDB/voltdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VoltDB/voltdb/merges","archive_url":"https://api.github.com/repos/VoltDB/voltdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VoltDB/voltdb/downloads","issues_url":"https://api.github.com/repos/VoltDB/voltdb/issues{/number}","pulls_url":"https://api.github.com/repos/VoltDB/voltdb/pulls{/number}","milestones_url":"https://api.github.com/repos/VoltDB/voltdb/milestones{/number}","notifications_url":"https://api.github.com/repos/VoltDB/voltdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VoltDB/voltdb/labels{/name}","releases_url":"https://api.github.com/repos/VoltDB/voltdb/releases{/id}","deployments_url":"https://api.github.com/repos/VoltDB/voltdb/deployments","created_at":"2011-09-23T18:46:12Z","updated_at":"2016-09-04T02:05:39Z","pushed_at":"2016-09-06T18:02:33Z","git_url":"git://github.com/VoltDB/voltdb.git","ssh_url":"git@github.com:VoltDB/voltdb.git","clone_url":"https://github.com/VoltDB/voltdb.git","svn_url":"https://github.com/VoltDB/voltdb","homepage":"http://community.voltdb.com/","size":618494,"stargazers_count":850,"watchers_count":850,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":262,"mirror_url":null,"open_issues_count":54,"forks":262,"open_issues":54,"watchers":850,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902"},"html":{"href":"https://github.com/VoltDB/voltdb/pull/3902"},"issue":{"href":"https://api.github.com/repos/VoltDB/voltdb/issues/3902"},"comments":{"href":"https://api.github.com/repos/VoltDB/voltdb/issues/3902/comments"},"review_comments":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902/comments"},"review_comment":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/VoltDB/voltdb/pulls/3902/commits"},"statuses":{"href":"https://api.github.com/repos/VoltDB/voltdb/statuses/0da5f53d0841500e0402bde8185acefac8a1b82a"}}}}
{"actor":{"display_login":"vtkstef"}}