File tree 4 files changed +9
-12
lines changed
distribution/docker-compose
4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -33,27 +33,27 @@ Following is the default registration configuration.
33
33
34
34
### Druid storage plugin developer notes.
35
35
36
- * Building the plugin
36
+ * Building the plugin
37
37
38
38
` mvn install -pl contrib/storage-druid `
39
39
40
40
* Building DRILL
41
41
42
42
` mvn clean install -DskipTests `
43
-
43
+
44
44
* Start Drill In Embedded Mode (mac)
45
45
46
46
``` shell script
47
47
distribution/target/apache-drill-1.20.0-SNAPSHOT/apache-drill-1.20.0-SNAPSHOT/bin/drill-embedded
48
48
```
49
-
49
+
50
50
* Starting Druid (Docker and Docker Compose required)
51
51
```
52
52
cd contrib/storage-druid/src/test/resources/druid
53
- docker- compose up -d
53
+ docker compose up -d
54
54
```
55
-
55
+
56
56
* 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
+
58
58
* Make sure the druid storage plugin is enabled in Drill.
59
59
Original file line number Diff line number Diff line change 16
16
# limitations under the License.
17
17
#
18
18
19
- version : " 2.2"
20
-
21
19
volumes :
22
20
metadata_data : {}
23
21
middle_var : {}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ launch. Logging is redirected to stdout.
6
6
In the docker-cluster-mode directory:
7
7
8
8
1. docker build -t apache/drill-cluster-mode
9
- 2. docker- compose up
9
+ 2. docker compose up
10
10
11
11
Then access the web UI at http://localhost:8047 or connect a JDBC client to
12
12
jdbc:drill:drillbit=localhost or jdbc:drill:zk=localhost but note that you
@@ -15,11 +15,11 @@ to use a ZooKeeper JDBC URL.
15
15
16
16
To launch a cluster of 3 Drillbits
17
17
18
- 3. docker- compose up --scale drillbit=3
18
+ 3. docker compose up --scale drillbit=3
19
19
20
20
but first note that to use docker-compose's "scale" feature to run multiple
21
21
Drillbit containers on a single host you will need to remove the host port
22
22
mappings from the compose file to prevent collisions (see the comments
23
23
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
25
25
the host.
Original file line number Diff line number Diff line change 16
16
# limitations under the License.
17
17
#
18
18
19
- version : " 3.9"
20
19
services :
21
20
zookeeper :
22
21
container_name : zookeeper
You can’t perform that action at this time.
0 commit comments