[ https://issues.apache.org/jira/browse/HDFS-15801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang resolved HDFS-15801. ------------------------------------ Fix Version/s: 2.10.2 Resolution: Fixed Thanks. This is merged. > 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 > Assignee: Janus Chow > Priority: Major > Labels: pull-request-available > Fix For: 2.10.2 > > Time Spent: 50m > Remaining Estimate: 0h > > 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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org