Source:
<code>public TaskStatus runTask(TaskToolbox toolbox) throws Exception { if (ingestionSchema.getTuningConfig().getMaxSavedParseExceptions() != TuningConfig.DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS) { LOG.warn("maxSavedParseExceptions is not supported yet"); } if (ingestionSchema.getTuningConfig().getMaxParseExceptions() != TuningConfig.DEFAULT_MAX_PARSE_EXCEPTIONS) { LOG.warn("maxParseExceptions is not supported yet"); } if (ingestionSchema.getTuningConfig().isLogParseExceptions() != TuningConfig.DEFAULT_LOG_PARSE_EXCEPTIONS) { LOG.warn("logParseExceptions is not supported yet"); } if (missingIntervalsInOverwriteMode) { LOG.warn( "Intervals are missing in granularitySpec while this task is potentially overwriting existing segments. " + "Forced to use timeChunk lock." ); } LOG.info( "Found chat handler of class[%s]", Preconditions.checkNotNull(chatHandlerProvider, "chatHandlerProvider").getClass().getName() ); chatHandlerProvider.register(getId(), this, false); try { initializeSubTaskCleaner(); if (isParallelMode()) { this.toolbox = toolbox; if (getIngestionSchema().getTuningConfig().isForceGuaranteedRollup()) { return runMultiPhaseParallel(toolbox); } else { return runSinglePhaseParallel(toolbox); } } else { if (!baseFirehoseFactory.isSplittable()) { LOG.warn( "firehoseFactory[%s] is not splittable. Running sequentially.", baseFirehoseFactory.getClass().getSimpleName() ); } else if (ingestionSchema.getTuningConfig().getMaxNumConcurrentSubTasks() <= 1) { LOG.warn( <START> "maxNumConcurrentSubTasks[%s] is less than 1. Running sequentially. Please set maxNumConcurrentSubTasks " <END> + "to something higher than 1 if you want to run in parallel ingestion mode.", ingestionSchema.getTuningConfig().getMaxNumConcurrentSubTasks() ); } else { throw new ISE("Unknown reason for sequentail mode. Failing this task."); } return runSequential(toolbox); } } finally { chatHandlerProvider.unregister(getId()); } }</code><technical_language>Message "less **or equal to** 1"</technical_language>

Target:
public TaskStatus runTask(TaskToolbox toolbox) throws Exception { if (ingestionSchema.getTuningConfig().getMaxSavedParseExceptions() != TuningConfig.DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS) { LOG.warn("maxSavedParseExceptions is not supported yet"); } if (ingestionSchema.getTuningConfig().getMaxParseExceptions() != TuningConfig.DEFAULT_MAX_PARSE_EXCEPTIONS) { LOG.warn("maxParseExceptions is not supported yet"); } if (ingestionSchema.getTuningConfig().isLogParseExceptions() != TuningConfig.DEFAULT_LOG_PARSE_EXCEPTIONS) { LOG.warn("logParseExceptions is not supported yet"); } if (missingIntervalsInOverwriteMode) { LOG.warn( "Intervals are missing in granularitySpec while this task is potentially overwriting existing segments. " + "Forced to use timeChunk lock." ); } LOG.info( "Found chat handler of class[%s]", Preconditions.checkNotNull(chatHandlerProvider, "chatHandlerProvider").getClass().getName() ); chatHandlerProvider.register(getId(), this, false); try { initializeSubTaskCleaner(); if (isParallelMode()) { this.toolbox = toolbox; if (getIngestionSchema().getTuningConfig().isForceGuaranteedRollup()) { return runMultiPhaseParallel(toolbox); } else { return runSinglePhaseParallel(toolbox); } } else { if (!baseFirehoseFactory.isSplittable()) { LOG.warn( "firehoseFactory[%s] is not splittable. Running sequentially.", baseFirehoseFactory.getClass().getSimpleName() ); } else if (ingestionSchema.getTuningConfig().getMaxNumConcurrentSubTasks() <= 1) { LOG.warn( "maxNumConcurrentSubTasks[%s] is less than or equal to 1. Running sequentially. " + "Please set maxNumConcurrentSubTasks to something higher than 1 if you want to run in parallel " + "ingestion mode.", ingestionSchema.getTuningConfig().getMaxNumConcurrentSubTasks() ); } else { throw new ISE("Unknown reason for sequentail mode. Failing this task."); } return runSequential(toolbox); } } finally { chatHandlerProvider.unregister(getId()); } }