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
1 changed files with 2 additions and 1 deletions

View File

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