Skip to content

Commit

Permalink
Support different types of MiddleManagers by Autoscaler apache#8695
Browse files Browse the repository at this point in the history
 - Removed debug logging
  • Loading branch information
Vladimir Iordanov committed Feb 5, 2020
1 parent 03f5e62 commit e16e40b
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.apache.druid.indexing.common.task.Task;
import org.apache.druid.indexing.overlord.ImmutableWorkerInfo;
import org.apache.druid.indexing.overlord.config.WorkerTaskRunnerConfig;
import org.apache.druid.java.util.emitter.EmittingLogger;

import javax.annotation.Nullable;
import java.util.Map;
Expand All @@ -34,8 +33,6 @@

public class WorkerSelectUtils
{
private static final EmittingLogger log = new EmittingLogger(WorkerSelectUtils.class);

private WorkerSelectUtils()
{
// No instantiation.
Expand Down Expand Up @@ -132,7 +129,7 @@ public static ImmutableWorkerInfo selectWorker(
runnableWorkers
);
final ImmutableWorkerInfo selected = workerSelector.apply(categoryWorkers);
log.debug("Selected worker %s for category %s. Spec strong assignment is %b", selected, preferredCategory, workerCategorySpec.isStrong());

if (selected != null) {
return selected;
} else if (workerCategorySpec.isStrong()) {
Expand Down

0 comments on commit e16e40b

Please sign in to comment.