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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • None
    • None
    • 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. HADOOP-13644.001.patch
          17 kB
          Chen Liang
        2. HDFS-10903.002.patch
          4 kB
          Chen Liang
        3. HDFS-10903.003.patch
          7 kB
          Chen Liang
        4. HDFS-10903-branch-2.004.patch
          8 kB
          Chen Liang
        5. HDFS-10903-branch-2.005.patch
          7 kB
          Chen Liang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: