HDDS-1832 : Improve logging for PipelineActions handling in SCM and datanode. (Change to Error logging)
Signed-off-by: Anu Engineer <aengineer@apache.org>
This commit is contained in:
parent
15545c8bf1
commit
fc229b6490
@ -558,7 +558,7 @@ private void triggerPipelineClose(RaftGroupId groupId, String detail,
|
||||
if (triggerHB) {
|
||||
context.getParent().triggerHeartbeat();
|
||||
}
|
||||
LOG.info(
|
||||
LOG.error(
|
||||
"pipeline Action " + action.getAction() + " on pipeline " + pipelineID
|
||||
+ ".Reason : " + action.getClosePipeline().getDetailedReason());
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ public void onMessage(PipelineActionsFromDatanode report,
|
||||
pipelineID = PipelineID.
|
||||
getFromProtobuf(action.getClosePipeline().getPipelineID());
|
||||
Pipeline pipeline = pipelineManager.getPipeline(pipelineID);
|
||||
LOG.info("Received pipeline action {} for {} from datanode {}. " +
|
||||
LOG.error("Received pipeline action {} for {} from datanode {}. " +
|
||||
"Reason : {}", action.getAction(), pipeline,
|
||||
report.getDatanodeDetails(),
|
||||
action.getClosePipeline().getDetailedReason());
|
||||
|
Loading…
Reference in New Issue
Block a user