File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed
hadoop-hdds/docs/content/recipe Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -33,31 +33,9 @@ This tutorial demonstrates how to access Apache Ozone using the HTTPFS REST API
3333
3434### 1️⃣ Start Ozone in Docker
3535
36- Download the latest Docker Compose configuration file:
37-
38- ``` bash
39- curl -O https://raw.githubusercontent.com/apache/ozone-docker/refs/heads/latest/docker-compose.yaml
40- ```
41-
42- Add httpfs container configurations and environment variable overrides at the bottom of ` docker-compose.yaml ` :
43-
44- ``` yaml
45- httpfs :
46- << : *image
47- ports :
48- - 14000:14000
49- environment :
50- CORE-SITE.XML_fs.defaultFS : " ofs://om"
51- CORE-SITE.XML_hadoop.proxyuser.hadoop.hosts : " *"
52- CORE-SITE.XML_hadoop.proxyuser.hadoop.groups : " *"
53- OZONE-SITE.XML_hdds.scm.safemode.min.datanode : ${OZONE_SAFEMODE_MIN_DATANODES:-1}
54- << : *common-config
55- command : [ "ozone","httpfs" ]
56- ` ` `
57-
58- Start the cluster:
59-
36+ Download the latest Docker Compose file for Ozone and start the cluster with 3 DataNodes:
6037``` bash
38+ curl -O https://raw.githubusercontent.com/apache/ozone-docker/latest/docker-compose.yaml
6139docker compose up -d --scale datanode=3
6240```
6341
You can’t perform that action at this time.
0 commit comments