HDFS-12812. Ozone: dozone: initialize scm and ksm directory on cluster startup. Contributed by Elek, Marton.
This commit is contained in:
parent
6b03fca37d
commit
10e1e2c2f5
@ -42,6 +42,8 @@ services:
|
||||
- ../../../hadoop-dist/target/hadoop-${VERSION}:/opt/hadoop
|
||||
ports:
|
||||
- 9874:9874
|
||||
environment:
|
||||
ENSURE_KSM_INITIALIZED: /data/metadata/ksm/current/VERSION
|
||||
env_file:
|
||||
- ./docker-config
|
||||
command: ["/opt/hadoop/bin/hdfs","ksm"]
|
||||
@ -53,4 +55,6 @@ services:
|
||||
- 9876:9876
|
||||
env_file:
|
||||
- ./docker-config
|
||||
environment:
|
||||
ENSURE_SCM_INITIALIZED: /data/metadata/scm/current/VERSION
|
||||
command: ["/opt/hadoop/bin/hdfs","scm"]
|
||||
|
Loading…
Reference in New Issue
Block a user