Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13891 HDFS RBF stabilization phase I
  3. HDFS-14226

RBF: Setting attributes should set on all subclusters' directories.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, HDFS-13891
    • None
    • Reviewed

    Description

      Only one subcluster is set now.

      // create a mount point of multiple subclusters
      hdfs dfsrouteradmin -add /all_data ns1 /data1
      hdfs dfsrouteradmin -add /all_data ns2 /data2
      
      hdfs ec -Dfs.defaultFS=hdfs://router:8888 -setPolicy -path /all_data -policy RS-3-2-1024k
      Set RS-3-2-1024k erasure coding policy on /all_data
      
      hdfs ec -Dfs.defaultFS=hdfs://router:8888 -getPolicy -path /all_data
      RS-3-2-1024k
      
      hdfs ec -Dfs.defaultFS=hdfs://ns1-namenode:8020 -getPolicy -path /data1
      RS-3-2-1024k
      
      hdfs ec -Dfs.defaultFS=hdfs://ns2-namenode:8020 -getPolicy -path /data2
      The erasure coding policy of /data2 is unspecified
      

      Attachments

        1. HDFS-14226-HDFS-13891-WIP1.patch
          12 kB
          Ayush Saxena
        2. HDFS-14226-HDFS-13891-07.patch
          28 kB
          Ayush Saxena
        3. HDFS-14226-HDFS-13891-06.patch
          27 kB
          Ayush Saxena
        4. HDFS-14226-HDFS-13891-05.patch
          27 kB
          Ayush Saxena
        5. HDFS-14226-HDFS-13891-04.patch
          27 kB
          Ayush Saxena
        6. HDFS-14226-HDFS-13891-03.patch
          26 kB
          Ayush Saxena
        7. HDFS-14226-HDFS-13891-02.patch
          23 kB
          Ayush Saxena
        8. HDFS-14226-HDFS-13891-01.patch
          11 kB
          Ayush Saxena

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              tasanuma Takanobu Asanuma
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: