Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 1 addition & 23 deletions hadoop-hdds/docs/content/recipe/PythonRequestsOzoneHttpFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,9 @@ This tutorial demonstrates how to access Apache Ozone using the HTTPFS REST API

### 1️⃣ Start Ozone in Docker

Download the latest Docker Compose configuration file:

Download the latest Docker Compose file for Ozone and start the cluster with 3 DataNodes:
```bash
curl -O https://raw.githubusercontent.com/apache/ozone-docker/refs/heads/latest/docker-compose.yaml
Comment thread
jojochuang marked this conversation as resolved.
Outdated
```

Add httpfs container configurations and environment variable overrides at the bottom of `docker-compose.yaml`:

```yaml
httpfs:
<<: *image
ports:
- 14000:14000
environment:
CORE-SITE.XML_fs.defaultFS: "ofs://om"
CORE-SITE.XML_hadoop.proxyuser.hadoop.hosts: "*"
CORE-SITE.XML_hadoop.proxyuser.hadoop.groups: "*"
OZONE-SITE.XML_hdds.scm.safemode.min.datanode: ${OZONE_SAFEMODE_MIN_DATANODES:-1}
<<: *common-config
command: [ "ozone","httpfs" ]
```

Start the cluster:

```bash
docker compose up -d --scale datanode=3
```

Expand Down