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 @@ public final class XceiverServerRatis extends XceiverServer {
|
|||
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 class PipelineActionHandler
|
|||
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