[ https://issues.apache.org/jira/browse/HDDS-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145054#comment-17145054 ]
Arpit Agarwal commented on HDDS-2268: ------------------------------------- Yeah this can probably be moved out to 0.7.0. > Incorrect container checksum upon downgrade > ------------------------------------------- > > Key: HDDS-2268 > URL: https://issues.apache.org/jira/browse/HDDS-2268 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Datanode > Reporter: Attila Doroszlai > Assignee: Aravindan Vijayan > Priority: Major > Labels: Triaged, upgrade > > Container file checksum is calculated based on all YAML fields in a given > Ozone version. If the same container file is used in older Ozone, which has > fewer fields, the expected checksum will be different. > Example: origin pipeline ID and origin node ID were added for HDDS-837 in > Ozone 0.4.0. Starting Ozone 0.3.0 with the same data results in checksum > error. > {noformat} > datanode_1 | ... ERROR ContainerReader:166 - Failed to parse ContainerFile > for ContainerID: 1 > datanode_1 | > org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: > Container checksum error for ContainerID: 1. > datanode_1 | Stored Checksum: > 7a6ec508d6e3796c5fe5fd52574b3d3437b0a0eaa4e053f7a96a5e39f4abb374 > datanode_1 | Expected Checksum: > fee023a02d3ced2f7b0b42c116cce5f03da6b57b29965ca878dc46d1213230b6 > datanode_1 | at > org.apache.hadoop.ozone.container.common.helpers.ContainerUtils.verifyChecksum(ContainerUtils.java:259) > datanode_1 | at > org.apache.hadoop.ozone.container.keyvalue.helpers.KeyValueContainerUtil.parseKVContainerData(KeyValueContainerUtil.java:165) > datanode_1 | at > org.apache.hadoop.ozone.container.ozoneimpl.ContainerReader.verifyContainerData(ContainerReader.java:180) > datanode_1 | at > org.apache.hadoop.ozone.container.ozoneimpl.ContainerReader.verifyContainerFile(ContainerReader.java:164) > datanode_1 | at > org.apache.hadoop.ozone.container.ozoneimpl.ContainerReader.readVolume(ContainerReader.java:142) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org