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 "Dinesh Chitlangia (JIRA)" <ji...@apache.org> on 2019/05/22 02:35:00 UTC

[jira] [Created] (HDDS-1581) Atleast one of the metadata dir config property must be tagged as REQUIRED

Dinesh Chitlangia created HDDS-1581:
---------------------------------------

             Summary: Atleast one of the metadata dir config property must be tagged as REQUIRED
                 Key: HDDS-1581
                 URL: https://issues.apache.org/jira/browse/HDDS-1581
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
    Affects Versions: 0.4.0
            Reporter: Dinesh Chitlangia
            Assignee: Dinesh Chitlangia


This issue was discovered working on HDDS-373 to generate a minimal ozone-site.xml with required values.

{panel:title=ozone-default.xml}
<property>
    <name>ozone.metadata.dirs</name>
    <value/>
    <tag>OZONE, OM, SCM, CONTAINER, STORAGE</tag>
    <description>
      This setting is the fallback location for SCM, OM and DataNodes
      to store their metadata. This setting may be used in test/PoC clusters
      to simplify configuration.

      For production clusters or any time you care about performance, it is
      recommended that ozone.om.db.dirs, ozone.scm.db.dirs and
      dfs.container.ratis.datanode.storage.dir be configured separately.
    </description>
  </property>
{panel}

However, none of the properties listed above are tagged as REQUIRED.

For starters, as the goal of HDDS-373 is to generate a simple minimal ozone-site.xml that can be used to start ozone, I propose that we do either of the following:
1. Tag ozone.metadata.dirs as REQUIRED 
OR
2. Tag ozone.om.db.dirs, ozone.scm.db.dirs and dfs.container.ratis.datanode.storage.dir as REQUIRED

For simplicity, I would prefer option 1.

cc: [~anu], [~arp], [~ajayydv] could you share your 2 cents pls? :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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