Serializing Typesafe Config objects
Try this: config.root().render(ConfigRenderOptions.concise())
Try this: config.root().render(ConfigRenderOptions.concise())
I think what you want is: val myCfg = ConfigFactory.parseFile(new File(“my_path/hdfs.conf”))