adoroszlai commented on pull request #2447:
URL: https://github.com/apache/ozone/pull/2447#issuecomment-1001670441
Thanks @JacksonYao287 for the patch. I tried adding `test.sh` to the
affected `ozone-ha` example (copied from `ozone` example) to verify the change.
However, additional SCMs failed to start with the following log.
```
2021-12-27 13:49:00 ERROR StorageContainerManager:320 - Please make sure you
have run 'ozone scm --init' command to generate all the required metadata to
/data/metadata/scm or make sure you have run 'ozone scm --bootstrap' cmd to add
the SCM to existing SCM HA group.
2021-12-27 13:49:00 ERROR StorageContainerManagerStarter:73 - SCM start
failed with exception
org.apache.hadoop.hdds.scm.exceptions.SCMException: SCM not initialized due
to storage config failure.
at
org.apache.hadoop.hdds.scm.server.StorageContainerManager.<init>(StorageContainerManager.java:321)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManager.createSCM(StorageContainerManager.java:491)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManager.createSCM(StorageContainerManager.java:503)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManagerStarter$SCMStarterHelper.start(StorageContainerManagerStarter.java:168)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManagerStarter.startScm(StorageContainerManagerStarter.java:142)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManagerStarter.call(StorageContainerManagerStarter.java:71)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManagerStarter.call(StorageContainerManagerStarter.java:47)
```
But bootstrap reported to be successful:
```
STARTUP_MSG: Starting StorageContainerManager
STARTUP_MSG: host = scm-2/10.42.0.44
STARTUP_MSG: args = [--bootstrap]
...
2021-12-27 13:45:53 INFO StorageContainerManager:987 - SCM BootStrap is
successful for ClusterID CID-b449e5a7-66ff-44eb-8a6e-bbf202cbf05e, SCMID
5053d1c5-7b10-4093-b19f-dcf28410a21f
2021-12-27 13:45:53 INFO StorageContainerManager:989 - Primary SCM Node ID
ba47cc25-6474-4e64-a32e-baa5126f85fd
```
Can you please check?
Here's the run from my fork:
https://github.com/adoroszlai/hadoop-ozone/runs/4642413726
--
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]