myskov commented on code in PR #3809:
URL: https://github.com/apache/ozone/pull/3809#discussion_r991243562
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java:
##########
@@ -1351,7 +1351,7 @@ private void initializeRatisDirs(OzoneConfiguration conf)
throws IOException {
for (File ratisGroupDir : ratisDirFiles) {
if (ratisGroupDir.isDirectory()) {
if (!ratisGroupDir.getName().equals(groupIDfromServiceID)) {
- throw new IOException("Ratis group Dir on disk "
+ LOG.warn("Ratis group Dir on disk "
+ ratisGroupDir.getName() + " does not match with
RaftGroupID"
Review Comment:
The message is misleading. It should say something like this:
"Another ratis dir is detected (possible SCM collocation). It's better not
to share ratis log dir in the production environment."
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]