incremental persist failed

I find a error when I use the index-service to submit index_realtime stream .
there is my step :
1、json file




2、submit json file
curl -X ‘POST’ -H ‘Content-Type:application/json’ -d @jsondir/sf_capture_his.json http://XXXXX:8090/druid/indexer/v1/task

But ! There is a mistake in my operation , the program run to RealtimePlumber.persistHydrant ,this is a mistake happened ,
log.makeAlert(“dataSource[%s] – incremental persist failed”, schema.getDataSource())
.addData(“interval”, interval)
.addData(“count”, indexToPersist.getCount())

and the IOException is : No such file or directory when I have remote debugging 。 and I find the basePersistDirectory that it’s not the right dir when I configure the json file。 The basePersistDirectory is other dir (var/druid/task/index_realtimeXXXX/work/persisit) that it is my middlemanage conf (druid.indexer.task.baseTaskDir=var/druid/task)

Auto Generated Inline Image 3.png

I feel very confused!

I know that there are two ways to submit , eg : tranquility and kafka-ingestion . But I want to know the cause of the error , thx!

I got it , thx !

在 2016年9月19日星期一 UTC+8下午1:13:46,Jerome liu写道: