hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12053) Ozone: ozone server should create missing metadata directory if it has permission to
Date Wed, 28 Jun 2017 14:09:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066525#comment-16066525
] 

Mukul Kumar Singh commented on HDFS-12053:
------------------------------------------

Hi [~cheersyang], The patch looks good, couple of comments though

1) Both line 132 and 134 can be combined in one statement
2) Also I feel that lines 147-152 can also be removed as part of this change by adding extra
condition to line 132.

> 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
>         Attachments: HDFS-12053-HDFS-7240.001.patch
>
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message