Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
TomG1
Creator
Creator

Set application name using advanced properties in talend spark job

I am trying to change the application name for a spark job created by talend BigData 6.4 version. But this approach is not working. I have seen posts where people change the application name using spark-submit. How do I do the same using talend tool.

 

 

Labels (3)
5 Replies
Anonymous
Not applicable

Hi,

 

    If you are trying to change the name of Talend job, you can close the job and right click the job properties.

0683p000009M1IY.png

 

 

Or, are you trying something different?

 

Warm Regards,

 

Nikhil Thampi

TomG1
Creator
Creator
Author

I have attached the screen shot in the question.

Please open that and zoom it.

 

Dynamic change of talend job name or application name is explained in the following thread.

 

https://stackoverflow.com/questions/36747268/why-does-conf-setspark-app-name-appname-not-set-the-nam...

 

 

I want to do the same stuff in talend.

TheMadse
Contributor
Contributor

Hello @TomG ,

did you found a solution for your issue?
as I have one generic spark job, which is called as child job I would like to set Spark appname during runtime. so it would be possible to determine each execution in in spark history.

 

Talend Spark Job, sets AppName according sparkcontext as followed

  sparkConfiguration.setAppName(projectName + "_" + jobName + "_"
+ jobVersion);


  as I create a sparkSession in java-component I thought to test .appName()

SparkSession.builder().appName("newAppName").getOrCreate();

have you tried this approach?

TheMadse
Contributor
Contributor

SparkSession.builder().appName("newAppName").getOrCreate();

dose not work 0683p000009MPcz.png

Anonymous
Not applicable

Try using "spark.app.name" property in the spark job-> Run-> Spark configuration-> Advanced Settings with the value you would like to set for the job.