You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2015/12/21 23:26:46 UTC

[jira] [Created] (HADOOP-12663) Remove Hard-Coded Values From FileSystem.java

BELUGA BEHR created HADOOP-12663:
------------------------------------

             Summary: Remove Hard-Coded Values From FileSystem.java
                 Key: HADOOP-12663
                 URL: https://issues.apache.org/jira/browse/HADOOP-12663
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 2.7.1
            Reporter: BELUGA BEHR
            Priority: Trivial


Within FileSystem.java, there is one instance where the global variables "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_KEY" and "CommonConfigurationKeysPublic.IO_FILE_BUFFER_SIZE_DEFAULT" were being used, but in all other instances, their literal values were being used.

Please find attached a patch to remove use of literal values and instead replace them with references to the global variables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)