anuengineer commented on a change in pull request #981: HDDS-1696. RocksDB use 
separate Write-ahead-log location for OM RocksDB.
URL: https://github.com/apache/hadoop/pull/981#discussion_r294543803
 
 

 ##########
 File path: 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneHAClusterImpl.java
 ##########
 @@ -208,6 +209,15 @@ void initializeConfiguration() throws IOException {
             // Set metadata/DB dir base path
             String metaDirPath = path + "/" + nodeId;
             conf.set(OZONE_METADATA_DIRS, metaDirPath);
+
+            // If wal Dir is set, as in OM HA setup all OM's will be on the
+            // same node, wal directories will conflict with each other.
+            // Append nodeId similar to metaDirPath.
+            String walDir = conf.get(OMConfigKeys.OZONE_OM_DB_WAL_DIR);
 
 Review comment:
   New Configs please.

----------------------------------------------------------------
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]

Reply via email to