HDDS-1022. Add cmd type in getCommandResponse in SCMDatanodeProtocolServer. Contributed by Bharat Viswanadham.

This commit is contained in:
Yiqun Lin 2019-01-29 11:26:41 +08:00
parent 4f63ffe444
commit 2d06112b74

View File

@ -342,7 +342,8 @@ public SCMCommandProto getCommandResponse(SCMCommand cmd)
((ReplicateContainerCommand)cmd).getProto())
.build();
default:
throw new IllegalArgumentException("Not implemented");
throw new IllegalArgumentException("Scm command " +
cmd.getType().toString() + " is not implemented");
}
}