hard coded HDFS path in druid_segments table

Hi all,

I just discovered that, Druid is storing HDFS segment path in DB with hard coded URI.

Yes, you can do that by specifying


instead of


in your runtime.properties file. But, you have to put appropriate hadoop configuration in the classpath so that FileSystem.getFileSystem(…) call gives the file system instance for “hdfs://

– Himanshu

Hi Himanshu,

Good to know that. I am using hostname instead of IP for now.