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:ย 

spark properties files

dataguy73
New Contributor

I am trying to migrate a spark job from an on-premises Hadoop cluster to data bricks on azure. Currently, we are keeping many values in the properties file. When executing spark-submit we pass the parameter --properties /prop.file.txt. and inside the spark code we use spark.conf.get("spark.param1") to get individual parameter values .How can we implement properties file in the Databricks notebook

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

I use JSON files and .conf files which reside on the data lake or in the filestore of dbfs.

Then read those files using python/scala

View solution in original post

1 REPLY 1

-werners-
Esteemed Contributor III

I use JSON files and .conf files which reside on the data lake or in the filestore of dbfs.

Then read those files using python/scala

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