Segment not closing due to error in spec file

Because of my mistake I pushed the error spec file to Druid but I quickly fix it. However, even though everything is working correctly, I keep getting this error.

2016-05-16T13:04:18,026 INFO [sparrow-firehose-web-2016-05-10T18:00:00.000Z-persist-n-merge] LoggingEmitter - Event [{“feed”:“alerts”,“timestamp”:“2016-05-16T13:04:18.026Z”,“service”:“druid/realtime”,“host”:“”,“severity”:“component-failure”,“description”:“Failed to persist merged index[sparrow-firehose-web]”,“data”:{“class”:“io.druid.segment.realtime.plumber.RealtimePlumber”,“exceptionType”:“java.lang.NullPointerException”,“exceptionMessage”:null,“exceptionStackTrace”:“java.lang.NullPointerException\n”,“interval”:“2016-05-10T18:00:00.000Z/2016-05-10T19:00:00.000Z”}}]


Our setup is we have Druid Firehose connecting to RabbitMQ

I tried restarting the realtime node but it didn’t fix the issue.

After restart realtime node tries to read any previously persisted data present on disk and hand it off.

Looks like the exception is coming from the data present on-disk.

Can you try cleaning up the basePersistDir and restart the realtime node ?