Tasks are getting failed with the following error in Druid, The tasks are not even scheduled and middle manager is getting restarted.
Failed to get storage slot due to error [Unable to pick a free slot, this should never happen
There is enough storage and everything.
Could someone please help with what does this mean and when does it come?
This is mainly because your historical/middlemanager config details does not match with exact storage available on local Server.
Please check below config setting in Middlemanager's runtime.properties file and reduce the number.
druid.worker.capacity
Also, verify historical's runtime.properties druid.segmentCache.locations and its maxSize specified in the application.