Repository: hadoop Updated Branches: refs/heads/HDFS-7240 75d8dd0e6 -> 47149e7de
HDFS-12812. Ozone: dozone: initialize scm and ksm directory on cluster startup. Contributed by Elek, Marton. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/47149e7d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/47149e7d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/47149e7d Branch: refs/heads/HDFS-7240 Commit: 47149e7de86bf6545523e56da7bef015060f710a Parents: 75d8dd0 Author: Xiaoyu Yao <[email protected]> Authored: Thu Jan 25 12:02:44 2018 -0800 Committer: Xiaoyu Yao <[email protected]> Committed: Thu Jan 25 12:02:44 2018 -0800 ---------------------------------------------------------------------- dev-support/compose/ozone/docker-compose.yaml | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/47149e7d/dev-support/compose/ozone/docker-compose.yaml ---------------------------------------------------------------------- diff --git a/dev-support/compose/ozone/docker-compose.yaml b/dev-support/compose/ozone/docker-compose.yaml index 0aa6575..ee5e0bc 100644 --- a/dev-support/compose/ozone/docker-compose.yaml +++ b/dev-support/compose/ozone/docker-compose.yaml @@ -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"] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
