Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6611

Support changing names of hdds.datanode.dir directories

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ozone Datanode
    • None

    Description

      Currently the .container files of KeyValueContainers contain absolute paths to the chunks directory and metadata directory, which is used to find the container's contents after reading the container file. This means that if the mount points of volumes specified in hdds.datanode.dir configs change, the datanode will find the container files and try to load the containers, but report that the container is missing pieces because the container file's chunks and metadata directories no longer exist.

      This is somewhat inconsistent with other directory configurations, because it is the only one (as far as I know) where changing its value to a new location that has the same data will cause a failure.

      Attachments

        Activity

          People

            Unassigned Unassigned
            erose Ethan Rose
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: