Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-12053

Ozone: ozone server should create missing metadata directory if it has permission to

    XMLWordPrintableJSON

Details

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

    Description

      Datanode state machine right now simple fails if container metadata directory is missing, it is better to create the directory if it has permission to. This is extremely useful at a fresh setup, usually we set ozone.container.metadata.dirs to be under same parent of dfs.datanode.data.dir. E.g

      • /hadoop/hdfs/data
      • /hadoop/hdfs/scm

      if I don't pre-setup /hadoop/hdfs/scm/repository, ozone could not be started.

      Attachments

        1. HDFS-12053-HDFS-7240.001.patch
          4 kB
          Weiwei Yang
        2. HDFS-12053-HDFS-7240.002.patch
          4 kB
          Weiwei Yang
        3. HDFS-12053-HDFS-7240.003.patch
          4 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: