[ 
https://issues.apache.org/jira/browse/HDFS-15801?focusedWorklogId=544080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-544080
 ]

ASF GitHub Bot logged work on HDFS-15801:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jan/21 07:39
            Start Date: 29/Jan/21 07:39
    Worklog Time Spent: 10m 
      Work Description: symious opened a new pull request #2659:
URL: https://github.com/apache/hadoop/pull/2659


   …th ArithmeticException when NULL checksum used)
   
   https://issues.apache.org/jira/browse/HDFS-15801
   


----------------------------------------------------------------
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: 544080)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Priority: Major
>          Time Spent: 10m
>  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

Reply via email to