Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.42 KB

File metadata and controls

23 lines (16 loc) · 1.42 KB
title Apache Spark job definition
description An Apache Spark job definition is a Fabric code item that allows you to submit batch or streaming jobs to a Spark cluster.
ms.reviewer qixwang
ms.topic overview
ms.date 10/31/2025
ms.search.form spark_job_definition

What is an Apache Spark job definition?

An Apache Spark job definition is a Microsoft Fabric code item that allows you to submit batch/streaming jobs to Spark clusters. By uploading the binary files from the compilation output of different languages (for example, .jar from Java), you can apply different transformation logic to the data hosted on a lakehouse. Besides the binary file, you can further customize the behavior of the job by uploading more libraries and command line arguments.

To run a Spark job definition, you must have at least one lakehouse associated with it. This default lakehouse context serves as the default file system for Spark runtime. For any Spark code using a relative path to read/write data, the data is served from the default lakehouse.

Important

To run a Spark job definition item, you must have a main definition file and default lakehouse context. If you don't have a lakehouse, create one by following the steps in Create a lakehouse.

Next steps

[!div class="nextstepaction"] Create an Apache Spark job definition in Microsoft Fabric.