Hi,

 

I am executing my spark jobs on yarn cluster by forming conf object in the following way.

 

SparkConf conf = new SparkConf().setAppName("NewJob").setMaster("yarn-cluster");

 

Now I want to execute spark jobs from my local machine how to do that.

 

What I mean is there a way to give IP address, port all the details to connect a master(YARN) on some other network from my local spark Program.

 

-Naveen