Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8104

Make hard-coded values consistent with the system default schema first before remove them

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7285
    • None
    • None
    • Reviewed

    Description

      It's not easy to remove the hard-coded values to use the system default schema. We may need several steps/issues to cover relevant aspects. First of all, let's make the hard-coded values consistent with the system default schema first. This might not so easy, as experimental test indicated, when change the following two lines, some tests then failed.

      -  public static final byte NUM_DATA_BLOCKS = 3;
      -  public static final byte NUM_PARITY_BLOCKS = 2;
      +  public static final byte NUM_DATA_BLOCKS = 6;
      +  public static final byte NUM_PARITY_BLOCKS = 3;
      

      Attachments

        1. HDFS-8104-v1.patch
          13 kB
          Kai Zheng
        2. HDFS-8104-v2.patch
          13 kB
          Kai Zheng

        Activity

          People

            drankye Kai Zheng
            drankye Kai Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: