[ https://issues.apache.org/jira/browse/HDFS-15801?focusedWorklogId=545675&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-545675 ]
ASF GitHub Bot logged work on HDFS-15801: ----------------------------------------- Author: ASF GitHub Bot Created on: 01/Feb/21 22:45 Start Date: 01/Feb/21 22:45 Worklog Time Spent: 10m Work Description: symious commented on pull request #2659: URL: https://github.com/apache/hadoop/pull/2659#issuecomment-771212244 @jojochuang Thanks for the review. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 545675) Time Spent: 40m (was: 0.5h) > 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 > Time Spent: 40m > 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