Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12663

Remove Hard-Coded Values From FileSystem.java

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Flags:
      Patch

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              belugabehr BELUGA BEHR
              Reporter:
              belugabehr BELUGA BEHR
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: