anuengineer commented on a change in pull request #1025: HDDS-373. Genconf tool
must generate ozone-site.xml with sample values
URL: https://github.com/apache/hadoop/pull/1025#discussion_r299112421
##########
File path:
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/genconf/GenerateOzoneRequiredConfigurations.java
##########
@@ -106,9 +109,19 @@ public static void generateConfigurations(String path)
throws
for (OzoneConfiguration.Property p : allProperties) {
if (p.getTag() != null && p.getTag().contains("REQUIRED")) {
- if(p.getName().equalsIgnoreCase(OzoneConfigKeys.OZONE_ENABLED)) {
+ if (p.getName().equalsIgnoreCase(OzoneConfigKeys.OZONE_ENABLED)) {
p.setValue(String.valueOf(Boolean.TRUE));
+ } else if (p.getName().equalsIgnoreCase(
+ OzoneConfigKeys.OZONE_METADATA_DIRS)) {
+ p.setValue(System.getProperty(OzoneConsts.JAVA_TMP_DIR));
+ } else if (p.getName().equalsIgnoreCase(
Review comment:
yes, we don't even know what the HA configs are. So we wil have to file a
follow up JIRA when HA is ready. For time being I am going on with commit,
since 0.4.1 release will be correct.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]