You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aref Khandan (Jira)" <ji...@apache.org> on 2021/03/01 05:51:00 UTC

[jira] [Created] (HADOOP-17554) Make getFileChecksumInternal method more readable

Aref Khandan created HADOOP-17554:
-------------------------------------

             Summary: Make getFileChecksumInternal method more readable
                 Key: HADOOP-17554
                 URL: https://issues.apache.org/jira/browse/HADOOP-17554
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 3.2.2
            Reporter: Aref Khandan


It might be help with readability having getFileChecksumInternal method  ecpolicy cheking

[https://github.com/apache/hadoop/blob/1a205cc3adffa568c814a5241e041b08e2fcd3eb/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java#L1845]

more explicit,

currently it is implemented inline,  which makes understanding the outcome of condition harder for future readers.



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

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