[ML] Remove redundant logging

Relates elastic/x-pack-elasticsearch#1027

Original commit: elastic/x-pack-elasticsearch@ddbe390e6f
This commit is contained in:
Dimitrios Athanasiou 2017-04-11 10:44:00 +01:00
parent 617c3ead5c
commit 1760677b0e
1 changed files with 0 additions and 2 deletions

View File

@ -424,10 +424,8 @@ public class StartDatafeedAction
StartDatafeedAction.validate(request.getDatafeedId(), mlMetadata, tasks);
Assignment assignment = selectNode(logger, request.getDatafeedId(), clusterState, resolver);
if (assignment.getExecutorNode() == null) {
DatafeedConfig datafeed = mlMetadata.getDatafeed(request.getDatafeedId());
String msg = "No node found to start datafeed [" + request.getDatafeedId()
+ "], allocation explanation [" + assignment.getExplanation() + "]";
logger.warn("[{}] {}", datafeed.getJobId(), msg);
throw new ElasticsearchException(msg);
}
} else {