You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/06/28 08:41:00 UTC

[jira] [Created] (HDFS-12053) Ozone: ozone server should create missing metadata directory if it has permission to

Weiwei Yang created HDFS-12053:
----------------------------------

             Summary: Ozone: ozone server should create missing metadata directory if it has permission to
                 Key: HDFS-12053
                 URL: https://issues.apache.org/jira/browse/HDFS-12053
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Weiwei Yang
            Assignee: Weiwei Yang
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org