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

Allow changing MiniDFSCluster volumes per DN and capacity per volume

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: datanode, test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      MiniDFSCluster hardcodes the number of directories per volume to two. Propose removing the hard-coded restriction.

      It would be useful to limit the capacity of individual storage directories for testing purposes. There is already a way to do so for SimulatedFSDataset, we can add one when using real volumes.

        Attachments

        1. HDFS-6899.01.patch
          14 kB
          Arpit Agarwal
        2. HDFS-6899.02.patch
          25 kB
          Arpit Agarwal
        3. HDFS-6899.03.patch
          25 kB
          Arpit Agarwal
        4. HDFS-6899.04.patch
          25 kB
          Arpit Agarwal
        5. HDFS-6899.05.patch
          26 kB
          Arpit Agarwal
        6. HDFS-6899.06.patch
          26 kB
          Arpit Agarwal

          Issue Links

            Activity

              People

              • Assignee:
                arp Arpit Agarwal
                Reporter:
                arp Arpit Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: