[ML] Remove redundant logging
Relates elastic/x-pack-elasticsearch#1027 Original commit: elastic/x-pack-elasticsearch@ddbe390e6f
This commit is contained in:
parent
617c3ead5c
commit
1760677b0e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue