Indexing error in Druid


Facing this error in Druid while Indexing. Can someone please let me know why is this happening.

2016-09-22T23:05:19,192 ERROR [demand-2016-09-22T18:00:00.000Z-persist-n-merge] io.druid.segment.realtime.plumber.RealtimePlumber - Failed to persist merged index[demand]: {class=io.druid.segment.realtime.plumber.RealtimePlumber, exceptionType=class, exceptionMessage=Unexpected HTTP response: code=403 != 200, op=MKDIRS, message=Forbidden, interval=2016-09-22T18:00:00.000Z/2016-09-22T19:00:00.000Z} Unexpected HTTP response: code=403 != 200, op=MKDIRS, message=Forbidden

Caused by: Content-Type “text/html” is incompatible with “application/json” (parsed=“text/html”)

at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.jsonParse( ~[hadoop-hdfs-]



There was permission issue while writing to Hdfs path here. Pointing to the correct paths fixed this.