{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/22661","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/22661/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/22661/comments","events_url":"https://api.github.com/repos/apache/spark/issues/22661/events","html_url":"https://github.com/apache/spark/pull/22661","id":367533556,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTM0ODUz","number":22661,"title":"[SPARK-25664][SQL][TEST] Refactor JoinBenchmark to use main method","user":{"login":"wangyum","id":5399861,"node_id":"MDQ6VXNlcjUzOTk4NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/5399861?v=4","gravatar_id":"","url":"https://api.github.com/users/wangyum","html_url":"https://github.com/wangyum","followers_url":"https://api.github.com/users/wangyum/followers","following_url":"https://api.github.com/users/wangyum/following{/other_user}","gists_url":"https://api.github.com/users/wangyum/gists{/gist_id}","starred_url":"https://api.github.com/users/wangyum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangyum/subscriptions","organizations_url":"https://api.github.com/users/wangyum/orgs","repos_url":"https://api.github.com/users/wangyum/repos","events_url":"https://api.github.com/users/wangyum/events{/privacy}","received_events_url":"https://api.github.com/users/wangyum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-07T08:38:28Z","updated_at":"2018-10-11T14:49:22Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/22661","html_url":"https://github.com/apache/spark/pull/22661","diff_url":"https://github.com/apache/spark/pull/22661.diff","patch_url":"https://github.com/apache/spark/pull/22661.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nRefactor `JoinBenchmark` to use main method.\r\n1. use `spark-submit`:\r\n```console\r\nbin/spark-submit --class  org.apache.spark.sql.execution.benchmark.JoinBenchmark --jars ./core/target/spark-core_2.11-3.0.0-SNAPSHOT-tests.jar ./sql/catalyst/target/spark-sql_2.11-3.0.0-SNAPSHOT-tests.jar\r\n```\r\n\r\n2. Generate benchmark result:\r\n```console\r\nSPARK_GENERATE_BENCHMARK_FILES=1 build/sbt \"sql/test:runMain org.apache.spark.sql.execution.benchmark.JoinBenchmark\"\r\n```\r\n\r\n## How was this patch tested?\r\n\r\nmanual tests\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/428984558","html_url":"https://github.com/apache/spark/pull/22661#issuecomment-428984558","issue_url":"https://api.github.com/repos/apache/spark/issues/22661","id":428984558,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODk4NDU1OA==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","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":"2018-10-11T14:49:22Z","updated_at":"2018-10-11T14:49:22Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/97249/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}