forked from mapr/drill-test-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
executable file
·375 lines (375 loc) · 16.1 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.drill</groupId>
<artifactId>test</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<modules>
<module>framework</module>
</modules>
<repositories>
<repository>
<id>pentaho</id>
<name>Pentaho</name>
<url>http://repo.pentaho.org/artifactory/repo</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>warn</checksumPolicy>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<testng.version>6.4</testng.version>
<log4j.version>1.2.17</log4j.version>
<json.version>20090211</json.version>
<jsontools.version>1.7</jsontools.version>
<surefireoutputDir>${basedir}/../surefire-reports</surefireoutputDir>
<google.common.version>16.0.1</google.common.version>
<drill.version>${env.DRILL_VERSION}</drill.version>
<hadoop.version>${env.HADOOP_VERSION}</hadoop.version>
<runtimeDepenencies>${env.DRILL_HOME}/conf</runtimeDepenencies>
<apache-httpcomponents.version>4.1.1</apache-httpcomponents.version>
</properties>
<dependencies>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.6</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>apache-log4j-extras</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${json.version}</version>
</dependency>
<dependency>
<groupId>com.sdicons.jsontools</groupId>
<artifactId>jsontools-core</artifactId>
<version>${jsontools.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${google.common.version}</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>${hadoop.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-json</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${apache-httpcomponents.version}</version>
</dependency>
<dependency>
<groupId>org.apache.drill.exec</groupId>
<artifactId>drill-jdbc-all</artifactId>
<version>${drill.version}</version>
<systemPath>${env.DRILL_HOME}/jars/jdbc-driver/drill-jdbc-all-${drill.version}.jar</systemPath>
<scope>system</scope>
</dependency>
<dependency>
<artifactId>jcommander</artifactId>
<version>1.30</version>
<groupId>com.beust</groupId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.4.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.4.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.4.3</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.4.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<id>install-tpcds-hivegenerate-parquet</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>http://apache-drill.s3.amazonaws.com/files/tpcds_hivegenerated_parquet.tgz</url>
<outputFileName>tpcds_hivegenerated_parquet.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources</outputDirectory>
</configuration>
</execution>
<execution>
<id>install-complexga100k-tgz-json</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>http://apache-drill.s3.amazonaws.com/files/complexga100k.json.tgz</url>
<outputFileName>complexga100k.json.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/complex/json</outputDirectory>
</configuration>
</execution>
<execution>
<id>install-complex-tgz-json</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>http://apache-drill.s3.amazonaws.com/files/complex.json.tgz</url>
<outputFileName>complex.json.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/complex/json</outputDirectory>
</configuration>
</execution>
<execution>
<id>install-mondrian-tgz-parquet</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>http://apache-drill.s3.amazonaws.com/files/mondrian_parquet.tgz</url>
<outputFileName>mondrian_parquet.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/mondrian</outputDirectory>
</configuration>
</execution>
<execution>
<id>func-failing-widestrings-large</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/func-failing-widestrings-large.tgz</url>
<outputFileName>func-failing-widestrings-large.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Functional/Failing/data-shapes/wide-columns/5000/1000rows/parquet/</outputDirectory>
</configuration>
</execution>
<execution>
<id>func-passing-widestrings-large</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/func-passing-widestrings-large.tgz</url>
<outputFileName>func-passing-widestrings-large.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Functional/data-shapes/wide-columns/5000/1000rows/parquet/</outputDirectory>
</configuration>
</execution>
<execution>
<id>flatten-operators-100000rows</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/flatten-operators-100000rows.tgz</url>
<outputFileName>flatten-operators-100000rows.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/flatten_operators/</outputDirectory>
</configuration>
</execution>
<execution>
<id>func-passing-flatten-operators-large</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/func-passing-flatten-operators-large.tgz</url>
<outputFileName>func-passing-flatten-operators-large.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Functional/flatten_operators/100000rows/</outputDirectory>
</configuration>
</execution>
<execution>
<id>tpcds_sf1_parquet</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/tpcds/tpcds_sf1_parquet.tar.gz</url>
<outputFileName>tpcds_sf1_parquet.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/tpcds/sf1/parquet</outputDirectory>
</configuration>
</execution>
<execution>
<id>tpcds_sf1_json</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/tpcds/tpcds_sf1_json.tar.gz</url>
<outputFileName>tpcds_sf1_json.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/tpcds/sf1/json</outputDirectory>
</configuration>
</execution>
<execution>
<id>tpcds_text_sf1</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/tpcds/tpcds_sf1_text.tar.gz</url>
<outputFileName>tpcds_text_sf1.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/tpcds/sf1/text</outputDirectory>
</configuration>
</execution>
<execution>
<id>json_fed</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/fed.tgz</url>
<outputFileName>json_fed.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/json/fed</outputDirectory>
</configuration>
</execution>
<execution>
<id>json_factbook</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/factbook.tgz</url>
<outputFileName>json_factbook.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/json/factbook</outputDirectory>
</configuration>
</execution>
<execution>
<id>json_studio</id>
<phase>prepare-package</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://s3.amazonaws.com/apache-drill/files/studio.tgz</url>
<outputFileName>json_studio.tgz</outputFileName>
<unpack>true</unpack>
<outputDirectory>${project.basedir}/resources/Datasources/json/studio</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8.1</version>
<configuration>
<skip>${maven.test.skip}</skip>
<argLine>-Xmx4G -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=32G -Dzookeeper.sasl.client=false -Djava.security.auth.login.config=/opt/mapr/conf/mapr.login.conf</argLine>
<additionalClasspathElements>
<additionalClasspathElement>${runtimeDepenencies}</additionalClasspathElement>
</additionalClasspathElements>
<reportsDirectory>${surefireoutputDir}/smoke/${project.artifactId}</reportsDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>