Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10903

Replace config key literal strings with config key names II: hadoop hdfs

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In Hadoop HDFS, there are some places that use config key literal strings instead of config key names, e.g.

      IOUtils.java
          copyBytes(in, out, conf.getInt("io.file.buffer.size", 4096), true);
      

      We should replace places like this.

        Attachments

        1. HDFS-10903-branch-2.005.patch
          7 kB
          Chen Liang
        2. HDFS-10903-branch-2.004.patch
          8 kB
          Chen Liang
        3. HDFS-10903.003.patch
          7 kB
          Chen Liang
        4. HDFS-10903.002.patch
          4 kB
          Chen Liang
        5. HADOOP-13644.001.patch
          17 kB
          Chen Liang

          Issue Links

            Activity

              People

              • Assignee:
                vagarychen Chen Liang
                Reporter:
                liuml07 Mingliang Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: