mirror of https://github.com/apache/druid.git
Indexer: Demote WARN to DEBUG for tasks that don't register Appenderators. (#11939)
This commit is contained in:
parent
29710789a4
commit
a04f99a950
|
@ -316,11 +316,13 @@ public class UnifiedIndexerAppenderatorsManager implements AppenderatorsManager
|
|||
synchronized (this) {
|
||||
DatasourceBundle datasourceBundle = datasourceBundles.get(dataSource);
|
||||
if (datasourceBundle == null) {
|
||||
LOG.error("Could not find datasource bundle for [%s], task [%s]", dataSource, taskId);
|
||||
// Not a warning, because not all tasks use Appenderators.
|
||||
LOG.debug("Could not find datasource bundle for [%s], task [%s]", dataSource, taskId);
|
||||
} else {
|
||||
List<Appenderator> existingAppenderators = datasourceBundle.taskAppenderatorMap.remove(taskId);
|
||||
if (existingAppenderators == null) {
|
||||
LOG.error("Tried to remove appenderators for task [%s] but none were found.", taskId);
|
||||
// Not a warning, because not all tasks use Appenderators.
|
||||
LOG.debug("Tried to remove appenderators for task [%s] but none were found.", taskId);
|
||||
}
|
||||
if (datasourceBundle.taskAppenderatorMap.isEmpty()) {
|
||||
datasourceBundles.remove(dataSource);
|
||||
|
|
Loading…
Reference in New Issue