|
6 | 6 | * compatible open source license. |
7 | 7 | */ |
8 | 8 |
|
9 | | -apply plugin: 'opensearch.internal-cluster-test' |
10 | | - |
11 | | -// SQL Unified Query API version (aligned with OpenSearch build version) — required by |
12 | | -// the PPL transport plugin used in CoordinatorReduceIT. |
13 | | -def sqlUnifiedQueryVersion = '3.6.0.0-SNAPSHOT' |
14 | | - |
15 | 9 | opensearchplugin { |
16 | 10 | description = 'DataFusion native execution engine plugin for the query engine.' |
17 | 11 | classname = 'org.opensearch.be.datafusion.DataFusionPlugin' |
@@ -85,25 +79,6 @@ dependencies { |
85 | 79 | testImplementation project(':sandbox:plugins:analytics-backend-lucene') |
86 | 80 | testCompileOnly 'org.immutables:value-annotations:2.8.8' |
87 | 81 |
|
88 | | - // ── internalClusterTest: end-to-end coordinator-reduce IT ─────────────────── |
89 | | - // Pulls in every sibling plugin needed to construct a parquet-backed composite |
90 | | - // index, dispatch a multi-shard PPL aggregate, and exercise DatafusionReduceSink. |
91 | | - internalClusterTestImplementation project(':sandbox:plugins:analytics-engine') |
92 | | - internalClusterTestImplementation project(':sandbox:plugins:parquet-data-format') |
93 | | - internalClusterTestImplementation project(':sandbox:plugins:composite-engine') |
94 | | - internalClusterTestImplementation project(':sandbox:plugins:analytics-backend-lucene') |
95 | | - internalClusterTestImplementation project(':plugins:arrow-flight-rpc') |
96 | | - internalClusterTestImplementation("org.opensearch.query:unified-query-api:${sqlUnifiedQueryVersion}") { |
97 | | - exclude group: 'org.opensearch' |
98 | | - } |
99 | | - internalClusterTestImplementation("org.opensearch.query:unified-query-core:${sqlUnifiedQueryVersion}") { |
100 | | - exclude group: 'org.opensearch' |
101 | | - } |
102 | | - internalClusterTestImplementation("org.opensearch.query:unified-query-ppl:${sqlUnifiedQueryVersion}") { |
103 | | - exclude group: 'org.opensearch' |
104 | | - } |
105 | | - // PPL front-end plugin — provides UnifiedPPLExecuteAction transport action used by the IT. |
106 | | - internalClusterTestImplementation project(':sandbox:plugins:test-ppl-frontend') |
107 | 82 | } |
108 | 83 |
|
109 | 84 | test { |
@@ -169,30 +144,10 @@ task cargoTest(type: Exec) { |
169 | 144 |
|
170 | 145 | check.dependsOn cargoTest |
171 | 146 |
|
172 | | -internalClusterTest { |
173 | | - jvmArgs '--add-opens=java.base/java.nio=ALL-UNNAMED' |
174 | | - jvmArgs '--add-opens=java.base/java.lang=ALL-UNNAMED' |
175 | | - jvmArgs '--add-opens=java.base/sun.nio.ch=ALL-UNNAMED' |
176 | | - jvmArgs '--enable-native-access=ALL-UNNAMED' |
177 | | - jvmArgs '-Darrow.memory.debug.allocator=false' |
178 | | - jvmArgs += ["--add-opens", "java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED"] |
179 | | - systemProperty 'io.netty.allocator.numDirectArenas', '1' |
180 | | - systemProperty 'io.netty.noUnsafe', 'false' |
181 | | - systemProperty 'io.netty.tryUnsafe', 'true' |
182 | | - systemProperty 'io.netty.tryReflectionSetAccessible', 'true' |
183 | | - systemProperty 'native.lib.path', project(':sandbox:libs:dataformat-native').ext.nativeLibPath.absolutePath |
184 | | - dependsOn ':sandbox:libs:dataformat-native:buildRustLibrary' |
185 | | -} |
186 | | - |
187 | 147 | configurations.all { |
188 | | - // okhttp-aws-signer is a transitive dep of unified-query-common (via unified-query-core), |
189 | | - // only published on JitPack, not needed for PPL parsing/planning |
190 | 148 | exclude group: 'com.github.babbel', module: 'okhttp-aws-signer' |
191 | 149 |
|
192 | 150 | resolutionStrategy { |
193 | | - // Align transitive versions with OpenSearch's managed versions — required because the |
194 | | - // unified-query-* artifacts pull in older versions of common libs that conflict with |
195 | | - // OpenSearch's enforced versions on internalClusterTest classpath. |
196 | 151 | force 'com.google.guava:guava:33.4.0-jre' |
197 | 152 | force 'com.google.guava:failureaccess:1.0.2' |
198 | 153 | force 'com.google.errorprone:error_prone_annotations:2.36.0' |
|
0 commit comments