commit | f46d447e41463f39f5eebe61023a4365f24f232f | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Sat Aug 26 11:23:15 2017 -0700 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Aug 26 11:25:57 2017 -0700 |
tree | 06131a19bc521dc35d715445fc5eada7650e9ea6 | |
parent | ace479793204d35591ab4d0fd6874f5611395b7c [diff] |
More meaningful example in README.md Inclue a more real-life example using spark-submit, including the ES credentials and a more real-life Gerrit URL Change-Id: I6366152203c24bd3cc42a9081dcfb30297fa578f
Spark ETL to extra analytics data from Gerrit Projects.
Job can be launched with the following parameters:
bin/spark-submit \ --conf spark.es.nodes=es.mycompany.com \ --conf spark.es.net.http.auth.user=elastic \ --conf spark.es.net.http.auth.pass=changeme \ $JARS/SparkAnalytics-assembly-1.0.jar \ --since 2000-06-01 \ --aggregate email_hour \ --url http://gerrit.mycompany.com \ -e gerrit/analytics