Skip to content

Commit a05b90d

Browse files
authored
[MINOR UPDATE] Update Docker-Compose Docs (#2933)
1 parent 0cdb471 commit a05b90d

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

contrib/storage-druid/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,27 @@ Following is the default registration configuration.
3333

3434
### Druid storage plugin developer notes.
3535

36-
* Building the plugin
36+
* Building the plugin
3737

3838
`mvn install -pl contrib/storage-druid`
3939

4040
* Building DRILL
4141

4242
`mvn clean install -DskipTests`
43-
43+
4444
* Start Drill In Embedded Mode (mac)
4545

4646
```shell script
4747
distribution/target/apache-drill-1.20.0-SNAPSHOT/apache-drill-1.20.0-SNAPSHOT/bin/drill-embedded
4848
```
49-
49+
5050
* Starting Druid (Docker and Docker Compose required)
5151
```
5252
cd contrib/storage-druid/src/test/resources/druid
53-
docker-compose up -d
53+
docker compose up -d
5454
```
55-
55+
5656
* There is an `Indexing Task Json` in the same folder as the docker compose file. It can be used to ingest the wikipedia datasource.
57-
57+
5858
* Make sure the druid storage plugin is enabled in Drill.
5959

contrib/storage-druid/src/test/resources/druid/docker-compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
# limitations under the License.
1717
#
1818

19-
version: "2.2"
20-
2119
volumes:
2220
metadata_data: {}
2321
middle_var: {}

distribution/docker-compose/README.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ launch. Logging is redirected to stdout.
66
In the docker-cluster-mode directory:
77

88
1. docker build -t apache/drill-cluster-mode
9-
2. docker-compose up
9+
2. docker compose up
1010

1111
Then access the web UI at http://localhost:8047 or connect a JDBC client to
1212
jdbc:drill:drillbit=localhost or jdbc:drill:zk=localhost but note that you
@@ -15,11 +15,11 @@ to use a ZooKeeper JDBC URL.
1515

1616
To launch a cluster of 3 Drillbits
1717

18-
3. docker-compose up --scale drillbit=3
18+
3. docker compose up --scale drillbit=3
1919

2020
but first note that to use docker-compose's "scale" feature to run multiple
2121
Drillbit containers on a single host you will need to remove the host port
2222
mappings from the compose file to prevent collisions (see the comments
2323
on the relevant lines in that file). Once the Drillbits are launched run
24-
`docker-compose ps` to list the ephemeral ports that have been allocated on
24+
`docker compose ps` to list the ephemeral ports that have been allocated on
2525
the host.

distribution/docker-compose/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
# limitations under the License.
1717
#
1818

19-
version: "3.9"
2019
services:
2120
zookeeper:
2221
container_name: zookeeper

0 commit comments

Comments
 (0)