bharatviswa504 commented on pull request #2512:
URL: https://github.com/apache/ozone/pull/2512#issuecomment-895769885


   Thank You @jojochuang for the review
   
   I have verified the fix it is working as expected with change to ozone om 
service id.
   
   ```
   2021-08-10 06:37:00,760 ERROR 
org.apache.hadoop.ozone.om.OzoneManagerStarter: OM start failed with exception
   java.io.IOException: Ratis group Dir on disk 
d39ebeec-41e8-35f1-a92b-9f198c4c3682 does not match with 
RaftGroupIDa870c7c2-351a-3867-aca7-b9a5b4809b76 generated from service id 
ozone2. Looks like there is a change to ozone.om.service.ids value after the 
cluster is setup. Currently change to this value is not supported.
        at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:504)
        at 
org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:934)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:125)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:79)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:67)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:38)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
        at picocli.CommandLine.access$1100(CommandLine.java:145)
        at 
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
        at 
picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2152)
        at picocli.CommandLine.parseWithHandlers(CommandLine.java:2530)
        at picocli.CommandLine.parseWithHandler(CommandLine.java:2465)
        at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:96)
        at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:87)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:51)
   ```


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

Reply via email to