Need help setting Spark yarn history server address

0 votes
I need some help with setting the history server address of Yarn in Spark. I am following some steps to use the history server. The steps tell that after enabling the history server, I have to set the address for it. I don't know how to do it and what address to set it to. Please help.

P.S.: I want to run history server on same node as Yarn
Mar 27, 2019 in Apache Spark by Brunda
1,973 views

1 answer to this question.

0 votes

If you are running history server and Yarn on the same node, then it is suggested to set the address to yarn.resourcemanager.hostname}:18080. You can do it as follows:

val sc = new SparkContext(new SparkConf())

./bin/spark-submit <all your existing options> --spark.yarn.historyServer.address=yarn.resourcemanager.hostname}:18080
answered Mar 27, 2019 by Neha

Related Questions In Apache Spark

0 votes
1 answer

When running Spark on Yarn, do I need to install Spark on all nodes of Yarn Cluster?

No, it is not necessary to install ...READ MORE

answered Jun 14, 2018 in Apache Spark by nitinrawat895
• 11,380 points
6,247 views
0 votes
1 answer

How to start spark history server?

Hey, You can use this command to start​ ...READ MORE

answered Jul 25, 2019 in Apache Spark by Gitika
• 65,850 points
3,010 views
0 votes
1 answer

How to start spark history server?

Hi, You can use this command to start ...READ MORE

answered Aug 6, 2019 in Apache Spark by Gitika
• 65,850 points
780 views
0 votes
1 answer

How is RDD in Spark different from Distributed Storage Management? Can anyone help me with this ?

Some of the key differences between an RDD and ...READ MORE

answered Jul 26, 2018 in Apache Spark by zombie
• 3,790 points
1,505 views
+1 vote
2 answers
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,002 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,514 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,648 views
0 votes
1 answer

Increase Yarn wait time for Sparkcontext

The default time that the Yarn application waits ...READ MORE

answered Mar 27, 2019 in Apache Spark by Rohit
2,589 views
0 votes
1 answer

How to increase HDFS replication level in Spark?

Hi @Raunak. You can change the replication ...READ MORE

answered Mar 27, 2019 in Apache Spark by Yash
1,527 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP