HDDS-1784. Missing HostName and IpAddress in the response of register command.
This commit is contained in:
parent
acef5e0cec
commit
0f399b0d57
|
@ -271,6 +271,8 @@ public class SCMDatanodeProtocolServer implements
|
||||||
.setErrorCode(cmd.getError())
|
.setErrorCode(cmd.getError())
|
||||||
.setClusterID(cmd.getClusterID())
|
.setClusterID(cmd.getClusterID())
|
||||||
.setDatanodeUUID(cmd.getDatanodeUUID())
|
.setDatanodeUUID(cmd.getDatanodeUUID())
|
||||||
|
.setIpAddress(cmd.getIpAddress())
|
||||||
|
.setHostname(cmd.getHostName())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue