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 06-01-2016 03:46 PM
I have Sandbox 2.4 on a VirtualBox
when I try to access Spark Master UI by the browser from my windows machine I get access denied as you can see from the pic I attached
can you tell my what wrong with it.?access-denide.png
Created 06-01-2016 03:52 PM
I think HDP comes with Spark on Yarn not standalone unless you installed it manually therefore you won't find the spark master UI inside sandbox.
Please start with below doc.
http://hortonworks.com/hadoop-tutorial/a-lap-around-apache-spark/
Created 06-01-2016 03:47 PM
Are you able to ping sandbox.hortonworks.com from your windows machine? If not, try using IP address instead of hostname.
Created 06-01-2016 03:52 PM
I think HDP comes with Spark on Yarn not standalone unless you installed it manually therefore you won't find the spark master UI inside sandbox.
Please start with below doc.
http://hortonworks.com/hadoop-tutorial/a-lap-around-apache-spark/
Created 06-01-2016 03:59 PM
so how can I see INFO . about the workers?
Created 06-01-2016 05:30 PM
There is no separate workers when spark runs on YARN, it will run normal as a normal app within YARN in the form of YARN containers. please refer below doc for spark on yarn architecture.
https://spark-summit.org/2014/wp-content/uploads/2014/07/Spark-on-YARN-A-Deep-Dive-Sandy-Ryza.pdf
Created 06-02-2016 01:48 PM
Hi @omar harb Please let me know if you need more info on this or kindly accept the answer to close this thread.
Created 06-02-2016 01:57 PM
I just need to know why when
I opened the URL
and clicked on the log link to see the log, I got
Access Denied.
please see the attached photo clusterurl.pnglogurlpng.png
thank you.
Created 06-02-2016 02:26 PM
If RM UI showing enough available resources then I would suggest you to stop the spark application and run it again with below options.
spark-submit --class com.Spark.MainClass --master yarn-client /home/Test-0.0.1-SNAPSHOT.jar --executor-cores 2 --executor-memory 2g --num-executors 2
If you still see same issue then kindly share the Spark AM logs from this screen for that job. clusterurl.png