|
28 | 28 | <artifactId>storm-sql-hdfs</artifactId>
|
29 | 29 |
|
30 | 30 | <properties>
|
31 |
| - <!-- Required downgrade by calcite-core 1.14.0 --> |
32 |
| - <guava.version>16.0.1</guava.version> |
| 31 | + <!-- |
| 32 | + +- org.apache.storm:storm-hdfs:jar:2.6.0-SNAPSHOT:provided |
| 33 | + | +- org.apache.hadoop:hadoop-auth:jar:2.10.1:provided |
| 34 | +
|
| 35 | + to fix Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil |
| 36 | + (org.apache.hadoop:hadoop-auth:2.10.1) |
| 37 | + to method sun.security.krb5.Config.getInstance() add |
| 38 | + "add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED" |
| 39 | + --> |
| 40 | + <storm-sql-hdfs.test.introspection.argLine>--add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED</storm-sql-hdfs.test.introspection.argLine> |
| 41 | + <!-- Required downgrade by calcite-core 1.16.0 https://mvnrepository.com/artifact/org.apache.calcite/calcite-core/1.16.0 --> |
| 42 | + <guava.version.downgrade>19.0</guava.version.downgrade> |
33 | 43 | </properties>
|
34 | 44 |
|
35 | 45 | <developers>
|
|
109 | 119 | <dependency>
|
110 | 120 | <groupId>com.google.guava</groupId>
|
111 | 121 | <artifactId>guava</artifactId>
|
112 |
| - <version>${guava.version}</version> |
| 122 | + <version>${guava.version.downgrade}</version> |
113 | 123 | </dependency>
|
114 | 124 | </dependencies>
|
115 | 125 | <build>
|
|
130 | 140 | <groupId>org.apache.maven.plugins</groupId>
|
131 | 141 | <artifactId>maven-pmd-plugin</artifactId>
|
132 | 142 | </plugin>
|
| 143 | + <plugin> |
| 144 | + <groupId>org.apache.maven.plugins</groupId> |
| 145 | + <artifactId>maven-surefire-plugin</artifactId> |
| 146 | + <configuration> |
| 147 | + <argLine>${storm-sql-hdfs.test.introspection.argLine} -Xmx3g -XX:+HeapDumpOnOutOfMemoryError</argLine> |
| 148 | + <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 149 | + <excludedGroups>IntegrationTest | ${java.unit.test.exclude.groups}</excludedGroups> |
| 150 | + <trimStackTrace>false</trimStackTrace> |
| 151 | + <forkCount>1.0C</forkCount> |
| 152 | + <reuseForks>true</reuseForks> |
| 153 | + <systemPropertyVariables> |
| 154 | + <storm.home>${project.basedir}/target/testhome</storm.home> |
| 155 | + </systemPropertyVariables> |
| 156 | + </configuration> |
| 157 | + </plugin> |
133 | 158 | </plugins>
|
134 | 159 | </build>
|
135 | 160 | </project>
|
0 commit comments