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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now