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

ONE_SSD policy will be violated while write data with DistributedFileSystem.create(....favoredNodes)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10.0, 3.0.4, 3.3.0, 2.8.6, 3.2.1, 2.9.3, 3.1.3
    • None
    • None

    Description

      Reproduce steps:
      1.setStoragePolicy ONE_SSD for a path A;
      2. client write data to path A by DistributedFileSystem.create(...favoredNodes) and Passing parameter favoredNodes
      then, three replicas of file in this path will be located in 2 SSD and 1DISK,which is violating the ONE_SSD policy.
      Not sure am I clear?

      Attachments

        1. HDFS-14512.branch-2.8.patch
          10 kB
          Wei-Chiu Chuang
        2. HDFS-14512.branch-2.patch
          10 kB
          Wei-Chiu Chuang
        3. HDFS-14512-01.patch
          10 kB
          Ayush Saxena
        4. HDFS-14512-02.patch
          10 kB
          Ayush Saxena
        5. TestToRepro.patch
          3 kB
          Ayush Saxena

        Activity

          People

            ayushtkn Ayush Saxena
            shenyinjie Shen Yinjie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: