Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2022 01:21 AM
Hi @Praveen Kumar Bachu Could you please try the below approach? Let me if this works for you.
import java.io.File
import org.apache.spark.SparkFiles
//use parseFile instead of load
val config: Config = ConfigFactory.parseFile( new File(SparkFiles.get("application.conf")))note: you will need to pass the file using --files
"--files",
"dbfs:/tmp/application.conf",