cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks JAR task type functionality

Chanu
New Contributor II

Hi, I would like to understand Databricks JAR based workflow tasks. Can I interpret JAR based runs to be something like a spark-submit on a cluster? In the logs, I was expecting to see the 

spark-submit --class com.xyz --num-executors 4

 etc., And, then there is another task type introduced recently I think โ€” spark submit task type. If we have a JAR to execute, does spark submit task type and JAR type are implicitly working similar or different?

2 REPLIES 2

Debayan
Databricks Employee
Databricks Employee

Hi, Could you please go through https://docs.databricks.com/workflows/jobs/how-to-use-jars-in-workflows.html and let us know if this helps?

Chanu
New Contributor II

Hi, I did try using the Workflows>Jobs>CreateTask>JarTaskType>UploadedMyJAR and Class and created JobCluster and tested this task. This JAR reads some tables as input, does some transformations and output as writing some other tables. I would like to know that this JAR task type can be interpreted as

spark-submit --class com.xyz --num-executors 

job? Because I was searching for this sort of entry in the log file , but couldnt find any. How does the JAR task type works in principle, is my actual question?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group