13.8.15

Run-example from Spark in HDP 2.3.0

[spring-xd@14514aea325a ~]$ run-example SparkPi 10
/usr/bin/run-example: line 24: /usr/bin/load-spark-env.sh: No such file or directory
Failed to find Spark examples assembly in /usr/lib or /usr/examples/target
You need to build Spark before running this program

I need to run it like this.

$ /usr/hdp/2.3.0.0-2557/spark/bin/run-example SparkPi 10


1 comment:

Sairam Asapu said...

having the same issue, you found any solution?