Skip to content

Commit 08c15a5

Browse files
committed
Fixes after rebase on 01/25
Signed-off-by: Rishabh Maurya <[email protected]>
1 parent 6b8a6e9 commit 08c15a5

File tree

91 files changed

+55
-9927
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+55
-9927
lines changed

buildSrc/src/main/java/org/opensearch/gradle/testclusters/OpenSearchNode.java

-7
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ public class OpenSearchNode implements TestClusterConfiguration {
174174
private boolean isWorkingDirConfigured = false;
175175
private String httpPort = "0";
176176
private String transportPort = "0";
177-
private String streamPort = "0";
178177
private Path confPathData;
179178
private String keystorePassword = "";
180179
private boolean preserveDataDir = false;
@@ -1176,8 +1175,6 @@ private void createConfiguration() {
11761175
baseConfig.put("node.portsfile", "true");
11771176
baseConfig.put("http.port", httpPort);
11781177
baseConfig.put("transport.port", transportPort);
1179-
baseConfig.put("node.attr.transport.stream.port", streamPort);
1180-
11811178
// Default the watermarks to absurdly low to prevent the tests from failing on nodes without enough disk space
11821179
baseConfig.put("cluster.routing.allocation.disk.watermark.low", "1b");
11831180
baseConfig.put("cluster.routing.allocation.disk.watermark.high", "1b");
@@ -1450,10 +1447,6 @@ void setTransportPort(String transportPort) {
14501447
this.transportPort = transportPort;
14511448
}
14521449

1453-
void setStreamPort(String streamPort) {
1454-
this.streamPort = streamPort;
1455-
}
1456-
14571450
void setDataPath(Path dataPath) {
14581451
this.confPathData = dataPath;
14591452
}

buildSrc/src/main/java/org/opensearch/gradle/testclusters/RunTask.java

-7
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public class RunTask extends DefaultTestClustersTask {
6161
public static final String CUSTOM_SETTINGS_PREFIX = "tests.opensearch.";
6262
private static final int DEFAULT_HTTP_PORT = 9200;
6363
private static final int DEFAULT_TRANSPORT_PORT = 9300;
64-
private static final int DEFAULT_STREAM_PORT = 9880;
6564
private static final int DEFAULT_DEBUG_PORT = 5005;
6665
public static final String LOCALHOST_ADDRESS_PREFIX = "127.0.0.1:";
6766

@@ -141,8 +140,6 @@ public void beforeStart() {
141140
int debugPort = DEFAULT_DEBUG_PORT;
142141
int httpPort = DEFAULT_HTTP_PORT;
143142
int transportPort = DEFAULT_TRANSPORT_PORT;
144-
int streamPort = DEFAULT_STREAM_PORT;
145-
146143
Map<String, String> additionalSettings = System.getProperties()
147144
.entrySet()
148145
.stream()
@@ -167,19 +164,15 @@ public void beforeStart() {
167164
firstNode.setHttpPort(String.valueOf(httpPort));
168165
httpPort++;
169166
firstNode.setTransportPort(String.valueOf(transportPort));
170-
firstNode.setStreamPort(String.valueOf(streamPort));
171167
transportPort++;
172-
streamPort++;
173168
firstNode.setting("discovery.seed_hosts", LOCALHOST_ADDRESS_PREFIX + DEFAULT_TRANSPORT_PORT);
174169
cluster.setPreserveDataDir(preserveData);
175170
for (OpenSearchNode node : cluster.getNodes()) {
176171
if (node != firstNode) {
177172
node.setHttpPort(String.valueOf(httpPort));
178173
httpPort++;
179174
node.setTransportPort(String.valueOf(transportPort));
180-
node.setStreamPort(String.valueOf(streamPort));
181175
transportPort++;
182-
streamPort++;
183176
node.setting("discovery.seed_hosts", LOCALHOST_ADDRESS_PREFIX + DEFAULT_TRANSPORT_PORT);
184177
}
185178
additionalSettings.forEach(node::setting);

distribution/archives/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* under the License.
2929
*/
3030

31-
import org.opensearch.gradle.JavaPackageType
31+
import org.opensearch.gradle.JavaPackageType
3232

3333
apply plugin: 'opensearch.internal-distribution-archive-setup'
3434

@@ -190,7 +190,7 @@ distribution_archives {
190190
}
191191
}
192192

193-
193+
194194
linuxPpc64leTar {
195195
archiveClassifier = 'linux-ppc64le'
196196
content {

libs/arrow-memory-shaded/licenses/jackson-annotations-LICENSE.txt

-8
This file was deleted.

libs/arrow-memory-shaded/licenses/jackson-annotations-NOTICE.txt

-20
This file was deleted.

libs/arrow-memory-shaded/licenses/jackson-databind-LICENSE.txt

-8
This file was deleted.

libs/arrow-memory-shaded/licenses/jackson-databind-NOTICE.txt

-20
This file was deleted.

0 commit comments

Comments
 (0)