Greg Solovyev has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11788 )

Change subject: [examples] Add basic Spark example written in Scala
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/11788/4/examples/scala/spark-example/README.adoc
File examples/scala/spark-example/README.adoc:

http://gerrit.cloudera.org:8080/#/c/11788/4/examples/scala/spark-example/README.adoc@41
PS4, Line 41: SparkMaster
> This should work without issue in a spark-submit job, I tested that previou
I ran the job locally - worked fine. Then, I tried running it against a Spark 
1.6 standalone cluster (CHD5.15.2) and got an error 
"java.io.StreamCorruptedException: invalid stream header: 01000C31" - because 
of the mismatch between Spark 2 and Spark 1.6. The way I submitted SparkMaster 
URL is exactly how your colleague described:

java -DKuduMasters=greg-kudu-5152-1.vpc.cloudera.com:7051 
-DSparkMaster=spark://greg-kudu-5152-1.vpc.cloudera.com:7077 -jar 
target/kudu-spark-example-1.0-SNAPSHOT.jar

I didn't try running it against Spark2 on yarn yet, that will require rewriting 
the example code a bit.



--
To view, visit http://gerrit.cloudera.org:8080/11788
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9ba09f0118c054a07b951e241c31d66245c57d3f
Gerrit-Change-Number: 11788
Gerrit-PatchSet: 4
Gerrit-Owner: Mitch Barnett <mbarn...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <abu...@apache.org>
Gerrit-Reviewer: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Greg Solovyev <gsolov...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mitch Barnett <mbarn...@cloudera.com>
Gerrit-Reviewer: Will Berkeley <wdberke...@gmail.com>
Gerrit-Comment-Date: Fri, 26 Oct 2018 20:18:00 +0000
Gerrit-HasComments: Yes

Reply via email to