HDDS-1022. Add cmd type in getCommandResponse in SCMDatanodeProtocolServer. Contributed by Bharat Viswanadham.
This commit is contained in:
parent
4f63ffe444
commit
2d06112b74
|
@ -342,7 +342,8 @@ public class SCMDatanodeProtocolServer implements
|
|||
((ReplicateContainerCommand)cmd).getProto())
|
||||
.build();
|
||||
default:
|
||||
throw new IllegalArgumentException("Not implemented");
|
||||
throw new IllegalArgumentException("Scm command " +
|
||||
cmd.getType().toString() + " is not implemented");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue