[ https://issues.apache.org/jira/browse/HDDS-1581?focusedWorklogId=251041&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-251041 ]
ASF GitHub Bot logged work on HDDS-1581: ---------------------------------------- Author: ASF GitHub Bot Created on: 30/May/19 15:42 Start Date: 30/May/19 15:42 Worklog Time Spent: 10m Work Description: dineshchitlangia commented on issue #872: HDDS-1581. Atleast one of the metadata dir config property must be tagged as REQUIRED URL: https://github.com/apache/hadoop/pull/872#issuecomment-497376438 @bharatviswa504 thanks for review, @anuengineer thanks for commit ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 251041) Time Spent: 1h (was: 50m) > 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, pull-request-available > Fix For: 0.4.1 > > Time Spent: 1h > Remaining Estimate: 0h > > 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 as that is the fallback config. We > have already stated that for production use, we must defined the granular > properties instead of relying on this fallback property ozone.metadata.dirs > As advised by [~xyao], we are going with Option 1 and adding more details to > description of other metadata related properties that would use > ozone.metadata.dirs as a fallback. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org