[ 
https://issues.apache.org/jira/browse/HDDS-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dinesh Chitlangia updated HDDS-1581:
------------------------------------
    Description: 
This issue was discovered while 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? :)

  was:
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? :)


> 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
>            Priority: Major
>              Labels: configuration
>
> This issue was discovered while 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to