Skip to content

Commit cb33ed6

Browse files
author
Mark Stoute
committed
files for github bug report
1 parent 5bd646e commit cb33ed6

File tree

3 files changed

+85
-5
lines changed

3 files changed

+85
-5
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"dataSource": "wikiticker-2015-09-12-sampled",
3+
"tuningConfig": {
4+
"partitionsSpec": {
5+
"type": "dynamic"
6+
}
7+
},
8+
"granularitySpec": {
9+
"segmentGranularity": "WEEK",
10+
"queryGranularity": null
11+
}
12+
}

distribution/docker/docker-compose.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ services:
4949
- ZOO_MY_ID=1
5050

5151
coordinator:
52-
image: apache/druid:0.22.0
52+
image: apache/druid:0.22.1
5353
container_name: coordinator
5454
volumes:
5555
- druid_shared:/opt/shared
5656
- coordinator_var:/opt/druid/var
57+
- ../../examples/quickstart/tutorial/:/opt/ingest
5758
depends_on:
5859
- zookeeper
5960
- postgres
@@ -65,7 +66,7 @@ services:
6566
- environment
6667

6768
broker:
68-
image: apache/druid:0.22.0
69+
image: apache/druid:0.22.1
6970
container_name: broker
7071
volumes:
7172
- broker_var:/opt/druid/var
@@ -81,7 +82,7 @@ services:
8182
- environment
8283

8384
historical:
84-
image: apache/druid:0.22.0
85+
image: apache/druid:0.22.1
8586
container_name: historical
8687
volumes:
8788
- druid_shared:/opt/shared
@@ -98,11 +99,12 @@ services:
9899
- environment
99100

100101
middlemanager:
101-
image: apache/druid:0.22.0
102+
image: apache/druid:0.22.1
102103
container_name: middlemanager
103104
volumes:
104105
- druid_shared:/opt/shared
105106
- middle_var:/opt/druid/var
107+
- ../../examples/quickstart/tutorial/:/opt/ingest
106108
depends_on:
107109
- zookeeper
108110
- postgres
@@ -116,7 +118,7 @@ services:
116118
- environment
117119

118120
router:
119-
image: apache/druid:0.22.0
121+
image: apache/druid:0.22.1
120122
container_name: router
121123
volumes:
122124
- router_var:/opt/druid/var
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"type": "index_parallel",
3+
"spec": {
4+
"ioConfig": {
5+
"type": "index_parallel",
6+
"inputSource": {
7+
"type": "local",
8+
"baseDir": "/opt/ingest/",
9+
"filter": "wikiticker-2015-09-12-sampled.json.gz"
10+
},
11+
"inputFormat": {
12+
"type": "json"
13+
}
14+
},
15+
"tuningConfig": {
16+
"type": "index_parallel",
17+
"partitionsSpec": {
18+
"type": "dynamic"
19+
}
20+
},
21+
"dataSchema": {
22+
"dataSource": "wikiticker-2015-09-12-sampled",
23+
"timestampSpec": {
24+
"column": "time",
25+
"format": "iso"
26+
},
27+
"dimensionsSpec": {
28+
"dimensions": [
29+
"channel",
30+
"cityName",
31+
"comment",
32+
"countryIsoCode",
33+
"countryName",
34+
"isAnonymous",
35+
"isMinor",
36+
"isNew",
37+
"isRobot",
38+
"isUnpatrolled",
39+
"metroCode",
40+
"namespace",
41+
"page",
42+
"regionIsoCode",
43+
"regionName",
44+
"user",
45+
{
46+
"type": "long",
47+
"name": "delta"
48+
},
49+
{
50+
"type": "long",
51+
"name": "added"
52+
},
53+
{
54+
"type": "long",
55+
"name": "deleted"
56+
}
57+
]
58+
},
59+
"granularitySpec": {
60+
"queryGranularity": "none",
61+
"rollup": false,
62+
"segmentGranularity": "hour"
63+
}
64+
}
65+
}
66+
}

0 commit comments

Comments
 (0)