elek commented on a change in pull request #860: HDDS-1597. Remove
hdds-server-scm dependency from ozone-common
URL: https://github.com/apache/hadoop/pull/860#discussion_r288599176
##########
File path:
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/server/ServerUtils.java
##########
@@ -203,4 +203,16 @@ public static void setOzoneMetaDirPath(OzoneConfiguration
conf,
conf.set(HddsConfigKeys.OZONE_METADATA_DIRS, path);
}
+ public static File getDBPath(Configuration conf, String dbDirectory) {
+ final File dbDirPath =
+ getDirectoryFromConfig(conf, dbDirectory, "OM");
+ if (dbDirPath != null) {
+ return dbDirPath;
Review comment:
Thanks. I added it.
----------------------------------------------------------------
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]