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

Improve -setrep for Erasure Coded files

    XMLWordPrintableJSON

Details

    Description

      Quoting my comments in HDFS-10974:

      Looking at code again, I think we can improve the handling of EC files better:

      • In SetReplication#processPath, can we check if the file is EC before invoking setReplication() on it?
      • -setrep also has a command switch -w to wait for the file to be replicated. Can we ignore this if the file is erasure coded?

      Also, in fact, -setrep only make sense for HDFS file system...

      Attachments

        1. HDFS-11598.001.patch
          4 kB
          Yiqun Lin
        2. HDFS-11598.002.patch
          4 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: