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 26 in Apache Spark by Brunda
134 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 26 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
• 10,690 points
1,179 views
0 votes
1 answer

How to start spark history server?

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

answered Jul 24 in Apache Spark by Gitika
• 25,340 points
35 views
0 votes
1 answer

How to start spark history server?

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

answered Aug 6 in Apache Spark by Gitika
• 25,340 points
37 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,690 points
164 views
0 votes
1 answer
0 votes
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
• 10,690 points
3,068 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
• 10,690 points
342 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
15,098 views
0 votes
1 answer

Increase Yarn wait time for Sparkcontext

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

answered Mar 26 in Apache Spark by Rohit
75 views
0 votes
1 answer

How to increase HDFS replication level in Spark?

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

answered Mar 26 in Apache Spark by Yash
103 views