Hi all, Could someone help me find out Which reaso...
# general
k
Hi all, Could someone help me find out Which reasons could cause RealtimeToOfflineSegmentsTask minion task canceled when running more than 2 hours?
Copy code
INFO [BaseMultipleSegmentsConversionExecutor] [TaskStateModelFactory-task_thread-0] RealtimeToOfflineSegmentsTask on table got canceled
Here are the codes that reports error in BaseMultipleSegmentsConversionExecutor. So I wonder which reason could trigger _cancelled variable.
Copy code
// Check whether the task get cancelled before uploading the segment
if (_cancelled) {
  <http://LOGGER.info|LOGGER.info>("{} on table: {}, segments: {} got cancelled", taskType, tableNameWithType, inputSegmentNames);
  throw new TaskCancelledException(
      taskType + " on table: " + tableNameWithType + ", segments: " + inputSegmentNames + " got cancelled");
}
h
Helix task framework calls cancel()
The reasons I know include: (1) the task runs too long, so it times out (2) the task was stopped by users when it's running
Maybe the task runs too long?