Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
None
-
None
Description
It is not possible to start an Ozone single-node cluster using the instructions on the cwiki here: https://cwiki.apache.org/confluence/display/OZONE/Single+Node+Deployment
Using the ozone genconf doesn't work either. The only way I could get it to work is by specifying separate config dirs for OM, SCM and Datanode that have different values for ozone.metadata.dirs. I didn't investigate in depth however the problem seems to be that DataNode uses the same metadata dir as the SCM and cannot get the directory lock (thankfully we have that safeguard).
We should at the very least fix the documentation with correct instructions, and ideally make it simpler to start a single node cluster by choosing sensible defaults.