I use spark with the cassandra spark connector and direct kafka.
And I seed batch procession increasing slowly over the time. Even when there is nothing to process incoming from kafka.
I think it is about a few milliseconds by batch, but after a long time, a batch can take several more seconds until it reaches the batch interval and finally crash.
I thought first it was a memory leak, but I think the processing time would be less linear but exponentially instead.
I don't really know if it is stages that become longer and longer or the latency between stage that increases.
I use spark 1.4.0
Any pointers about this?
EDIT : A attentive look at the evolution of the processing time of each batch, comparing total jobs processing time.
And it appears that even if batch processing time increases, the job processing time are not increasing. exemple : for a batch that take 7s the sum of each job processing time is 1.5s. (as shown in the image below)
Is it because the computing time driver side increases, and not the computing time executor side? And this driver computing time is not shown in job processing ui?
If it's the case how can correct it?

