ContainerInfo info=ContainerInfo.newBuilder().setContainerName(containerName).setFinalhash(DigestUtils.sha256Hex(containerName)).setContainerID(containerID).build(); | ContainerInfo info=ContainerInfo.newBuilder().setContainerID(containerID).setFinalhash(DigestUtils.sha256Hex(Longs.toByteArray(containerID))).setContainerID(containerID).build(); | containerName | Longs.toByteArray(containerName) | hadoop | 3a43ac2851f5dea4deb8a1dfebf9bf65fc57bd76 | org.apache.hadoop.ozone.container.testutils.ReplicationDatanodeStateManager | | _1 | containerName |
---|
_2 | containerID |
---|
| | - com.google.common.primitives.Longs
| | Uses | True |