Janus Chow created HDFS-15801: --------------------------------- Summary: Backport HDFS-14582 to branch-2.10 (Failed to start DN with ArithmeticException when NULL checksum used) Key: HDFS-15801 URL: https://issues.apache.org/jira/browse/HDFS-15801 Project: Hadoop HDFS Issue Type: Bug Reporter: Janus Chow
In HDFS-14582, the error message is more clear as follows: {code:java} Caused by: java.lang.ArithmeticException: / by zero at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.validateIntegrityAndSetLength(BlockPoolSlice.java:823) at {code} But in branch-2.10.1, the exception message is omitted as follows: {code:java} 2021-01-29 14:20:30,694 INFO impl.FsDatasetImpl (FsVolumeList.java:run(204)) - Caught exception while adding replicas from /mnt/disk/0/hdfs/data/current. Will throw later. java.io.IOException: Failed to start sub tasks to add replica in replica map :java.lang.ArithmeticExceptionjava.io.IOException: Failed to start sub tasks to add replica in replica map :java.lang.ArithmeticException at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.getVolumeMap(BlockPoolSlice.java:434) at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl.getVolumeMap(FsVolumeImpl.java:930) at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeList$1.run(FsVolumeList.java:196) {code} The specific error message is omitted, causing it harder to find the root cause. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org