You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Marcono1234 (Jira)" <ji...@apache.org> on 2020/12/17 22:01:04 UTC

[jira] [Created] (HDFS-15736) FsImageValidation contains unreachable code

Marcono1234 created HDFS-15736:
----------------------------------

             Summary: FsImageValidation contains unreachable code
                 Key: HDFS-15736
                 URL: https://issues.apache.org/jira/browse/HDFS-15736
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Marcono1234


The main method of {{org.apache.hadoop.hdfs.server.namenode.FsImageValidation}} contains unreachable code because {{System.exit(...)}} never returns:
https://github.com/apache/hadoop/blob/c2672bb234256e342fd9b5ef6fe4455471009693/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FsImageValidation.java#L402-L403

The lines are probably interchanged.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org