Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-13-2016 04:59 PM
output.txtHi,
I am new to HDP and have downloaded the HDP sandbox 2.4 and trying out the tutorial
http://hortonworks.com/hadoop-tutorial/a-lap-around-apache-spark/
But I am not able to complete the Spark Pi example as a message keeps looping through the message "INFO Client: Application report for application_1457875462527_0006 (state: ACCEPTED)" and does not show the result as expected.
I have tried following the tutorial with and without the installation of spark_2_3_4_1_10-master and spark_2_3_4_1_10-python as I see that HDP 2.4 already come with spark 2.4.0.0-169.
Attached is the output from the command. Hope someone can help.
Thanks,
Created 03-15-2016 02:53 PM
Hi Guys,
Thanks a lot for your help. Just to summarize the issue so that someone else knows what to do:
If using HDP sandbox 2.4, for the tutorial "A Lap Around Apache Spark", there is no need to install spark, everything is in.
When I had problem starting spark, it was because there is another spark instance running. Started because I was running the "Spark on Zeppelin" tutorial.
To stop the spark session, use the "yarn application -list" and "yarn application -kill" command to kill of other spark on yarn sessions.
All is well now. Takes again for your help.
Created 03-14-2016 02:08 PM
You can list the app in yarn CLI and then kill that particular job https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YarnCommands.html
Created 03-15-2016 02:53 PM
Hi Guys,
Thanks a lot for your help. Just to summarize the issue so that someone else knows what to do:
If using HDP sandbox 2.4, for the tutorial "A Lap Around Apache Spark", there is no need to install spark, everything is in.
When I had problem starting spark, it was because there is another spark instance running. Started because I was running the "Spark on Zeppelin" tutorial.
To stop the spark session, use the "yarn application -list" and "yarn application -kill" command to kill of other spark on yarn sessions.
All is well now. Takes again for your help.