Skip to content

Commit ce288b6

Browse files
authored
HDDS-13265. Simplify the page Access Ozone using HTTPFS REST API (#8629)
1 parent 36fe888 commit ce288b6

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

hadoop-hdds/docs/content/recipe/PythonRequestsOzoneHttpFS.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff 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
6139
docker compose up -d --scale datanode=3
6240
```
6341

0 commit comments

Comments
 (0)