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(); | ContainerInfo.newBuilder().setContainerName(containerName).setFinalhash(DigestUtils.sha256Hex(containerName)) | ContainerInfo.newBuilder().setContainerID(containerName).setFinalhash(DigestUtils.sha256Hex(Longs.toByteArray(containerName))) | hadoop | 3a43ac2851f5dea4deb8a1dfebf9bf65fc57bd76 | org.apache.hadoop.ozone.container.testutils.ReplicationDatanodeStateManager | | _1 | containerName |
---|
_2 | containerID |
---|
| TCIVar | containerName |
---|
v1 | ContainerInfo.newBuilder() |
---|
| - org.apache.commons.codec.digest.DigestUtils
| TCIVar | containerName |
---|
v1 | ContainerInfo.newBuilder() |
---|
| Uses | True |