Skip to content

Commit

Permalink
Merge branch 'apache:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
reiabreu authored Jan 18, 2025
2 parents 5f24acc + af46999 commit e596015
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 37 deletions.
26 changes: 13 additions & 13 deletions DEPENDENCY-LICENSES
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ List of third-party dependencies grouped by their license type.
* Apache Calcite Avatica (org.apache.calcite.avatica:avatica-core:1.11.0 - https://calcite.apache.org/avatica/avatica-core)
* Apache Commons BeanUtils (commons-beanutils:commons-beanutils:1.9.4 - https://commons.apache.org/proper/commons-beanutils/)
* Apache Commons CLI (commons-cli:commons-cli:1.9.0 - https://commons.apache.org/proper/commons-cli/)
* Apache Commons Codec (commons-codec:commons-codec:1.17.1 - https://commons.apache.org/proper/commons-codec/)
* Apache Commons Codec (commons-codec:commons-codec:1.17.2 - https://commons.apache.org/proper/commons-codec/)
* Apache Commons Collections (commons-collections:commons-collections:3.2.2 - http://commons.apache.org/collections/)
* Apache Commons Collections (org.apache.commons:commons-collections4:4.4 - https://commons.apache.org/proper/commons-collections/)
* Apache Commons Compress (org.apache.commons:commons-compress:1.27.1 - https://commons.apache.org/proper/commons-compress/)
* Apache Commons Configuration (org.apache.commons:commons-configuration2:2.11.0 - https://commons.apache.org/proper/commons-configuration/)
* Apache Commons Crypto (org.apache.commons:commons-crypto:1.1.0 - https://commons.apache.org/proper/commons-crypto/)
* Apache Commons CSV (org.apache.commons:commons-csv:1.12.0 - https://commons.apache.org/proper/commons-csv/)
* Apache Commons CSV (org.apache.commons:commons-csv:1.13.0 - https://commons.apache.org/proper/commons-csv/)
* Apache Commons Exec (org.apache.commons:commons-exec:1.4.0 - https://commons.apache.org/proper/commons-exec/)
* Apache Commons FileUpload (commons-fileupload:commons-fileupload:1.5 - https://commons.apache.org/proper/commons-fileupload/)
* Apache Commons IO (commons-io:commons-io:2.18.0 - https://commons.apache.org/proper/commons-io/)
Expand Down Expand Up @@ -274,22 +274,22 @@ List of third-party dependencies grouped by their license type.

Apache License, Version 2.0, BSD 2-Clause, Eclipse Distribution License, Version 1.0, Eclipse Public License, Version 2.0, jQuery license, MIT License, Modified BSD, Public Domain, The GNU General Public License (GPL), Version 2, With Classpath Exception, W3C license

* jersey-container-grizzly2-http (org.glassfish.jersey.containers:jersey-container-grizzly2-http:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-http)
* jersey-container-grizzly2-servlet (org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-servlet)
* jersey-container-servlet (org.glassfish.jersey.containers:jersey-container-servlet:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet)
* jersey-container-servlet-core (org.glassfish.jersey.containers:jersey-container-servlet-core:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet-core)
* jersey-core-client (org.glassfish.jersey.core:jersey-client:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-client)
* jersey-ext-bean-validation (org.glassfish.jersey.ext:jersey-bean-validation:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-bean-validation)
* jersey-ext-metainf-services (org.glassfish.jersey.ext:jersey-metainf-services:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-metainf-services)
* jersey-inject-hk2 (org.glassfish.jersey.inject:jersey-hk2:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-hk2)
* jersey-container-grizzly2-http (org.glassfish.jersey.containers:jersey-container-grizzly2-http:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-http)
* jersey-container-grizzly2-servlet (org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-servlet)
* jersey-container-servlet (org.glassfish.jersey.containers:jersey-container-servlet:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet)
* jersey-container-servlet-core (org.glassfish.jersey.containers:jersey-container-servlet-core:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet-core)
* jersey-core-client (org.glassfish.jersey.core:jersey-client:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-client)
* jersey-ext-bean-validation (org.glassfish.jersey.ext:jersey-bean-validation:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-bean-validation)
* jersey-ext-metainf-services (org.glassfish.jersey.ext:jersey-metainf-services:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-metainf-services)
* jersey-inject-hk2 (org.glassfish.jersey.inject:jersey-hk2:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-hk2)

Apache License, Version 2.0, Eclipse Public License, Version 2.0, Modified BSD, The GNU General Public License (GPL), Version 2, With Classpath Exception

* jersey-core-server (org.glassfish.jersey.core:jersey-server:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-server)
* jersey-core-server (org.glassfish.jersey.core:jersey-server:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-server)

Apache License, Version 2.0, Eclipse Public License, Version 2.0, Public Domain, The GNU General Public License (GPL), Version 2, With Classpath Exception

* jersey-core-common (org.glassfish.jersey.core:jersey-common:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-common)
* jersey-core-common (org.glassfish.jersey.core:jersey-common:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-common)

Apache License, Version 2.0, Eclipse Public License - Version 1.0

Expand All @@ -308,7 +308,7 @@ List of third-party dependencies grouped by their license type.

Apache License, Version 2.0, GNU General Public License, version 2

* RocksDB JNI (org.rocksdb:rocksdbjni:9.7.3 - https://rocksdb.org)
* RocksDB JNI (org.rocksdb:rocksdbjni:9.8.4 - https://rocksdb.org)

Apache License, Version 2.0, LGPL 2.1, MPL 1.1

Expand Down
26 changes: 13 additions & 13 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -674,13 +674,13 @@ The license texts of these dependencies can be found in the licenses directory.
* Apache Calcite Avatica (org.apache.calcite.avatica:avatica-core:1.11.0 - https://calcite.apache.org/avatica/avatica-core)
* Apache Commons BeanUtils (commons-beanutils:commons-beanutils:1.9.4 - https://commons.apache.org/proper/commons-beanutils/)
* Apache Commons CLI (commons-cli:commons-cli:1.9.0 - http://commons.apache.org/proper/commons-cli/)
* Apache Commons Codec (commons-codec:commons-codec:1.17.1 - http://commons.apache.org/proper/commons-codec/)
* Apache Commons Codec (commons-codec:commons-codec:1.17.2 - http://commons.apache.org/proper/commons-codec/)
* Apache Commons Collections (commons-collections:commons-collections:3.2.2 - http://commons.apache.org/collections/)
* Apache Commons Collections (org.apache.commons:commons-collections4:4.4 - https://commons.apache.org/proper/commons-collections/)
* Apache Commons Compress (org.apache.commons:commons-compress:1.27.1 - https://commons.apache.org/proper/commons-compress/)
* Apache Commons Configuration (org.apache.commons:commons-configuration2:2.11.0 - https://commons.apache.org/proper/commons-configuration/)
* Apache Commons Crypto (org.apache.commons:commons-crypto:1.1.0 - https://commons.apache.org/proper/commons-crypto/)
* Apache Commons CSV (org.apache.commons:commons-csv:1.12.0 - http://commons.apache.org/proper/commons-csv/)
* Apache Commons CSV (org.apache.commons:commons-csv:1.13.0 - http://commons.apache.org/proper/commons-csv/)
* Apache Commons Exec (org.apache.commons:commons-exec:1.4.0 - http://commons.apache.org/proper/commons-exec/)
* Apache Commons IO (commons-io:commons-io:2.18.0 - https://commons.apache.org/proper/commons-io/)
* Apache Commons Logging (commons-logging:commons-logging:1.2 - http://commons.apache.org/proper/commons-logging/)
Expand Down Expand Up @@ -865,22 +865,22 @@ The license texts of these dependencies can be found in the licenses directory.

Apache License, Version 2.0, BSD 2-Clause, Eclipse Distribution License, Version 1.0, Eclipse Public License, Version 2.0, jQuery license, MIT License, Modified BSD, Public Domain, The GNU General Public License (GPL), Version 2, With Classpath Exception, W3C license

* jersey-container-grizzly2-http (org.glassfish.jersey.containers:jersey-container-grizzly2-http:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-http)
* jersey-container-grizzly2-servlet (org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-servlet)
* jersey-container-servlet (org.glassfish.jersey.containers:jersey-container-servlet:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet)
* jersey-container-servlet-core (org.glassfish.jersey.containers:jersey-container-servlet-core:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet-core)
* jersey-core-client (org.glassfish.jersey.core:jersey-client:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-client)
* jersey-ext-bean-validation (org.glassfish.jersey.ext:jersey-bean-validation:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-bean-validation)
* jersey-ext-metainf-services (org.glassfish.jersey.ext:jersey-metainf-services:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-metainf-services)
* jersey-inject-hk2 (org.glassfish.jersey.inject:jersey-hk2:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-hk2)
* jersey-container-grizzly2-http (org.glassfish.jersey.containers:jersey-container-grizzly2-http:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-http)
* jersey-container-grizzly2-servlet (org.glassfish.jersey.containers:jersey-container-grizzly2-servlet:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-grizzly2-servlet)
* jersey-container-servlet (org.glassfish.jersey.containers:jersey-container-servlet:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet)
* jersey-container-servlet-core (org.glassfish.jersey.containers:jersey-container-servlet-core:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-container-servlet-core)
* jersey-core-client (org.glassfish.jersey.core:jersey-client:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-client)
* jersey-ext-bean-validation (org.glassfish.jersey.ext:jersey-bean-validation:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-bean-validation)
* jersey-ext-metainf-services (org.glassfish.jersey.ext:jersey-metainf-services:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-metainf-services)
* jersey-inject-hk2 (org.glassfish.jersey.inject:jersey-hk2:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/project/jersey-hk2)

Apache License, Version 2.0, Eclipse Public License, Version 2.0, Modified BSD, The GNU General Public License (GPL), Version 2, With Classpath Exception

* jersey-core-server (org.glassfish.jersey.core:jersey-server:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-server)
* jersey-core-server (org.glassfish.jersey.core:jersey-server:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-server)

Apache License, Version 2.0, Eclipse Public License, Version 2.0, Public Domain, The GNU General Public License (GPL), Version 2, With Classpath Exception

* jersey-core-common (org.glassfish.jersey.core:jersey-common:3.1.9 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-common)
* jersey-core-common (org.glassfish.jersey.core:jersey-common:3.1.10 - https://projects.eclipse.org/projects/ee4j.jersey/jersey-common)

Apache License, Version 2.0, Eclipse Public License - Version 1.0

Expand All @@ -899,7 +899,7 @@ The license texts of these dependencies can be found in the licenses directory.

Apache License, Version 2.0, GNU General Public License, version 2

* RocksDB JNI (org.rocksdb:rocksdbjni:9.7.3 - https://rocksdb.org)
* RocksDB JNI (org.rocksdb:rocksdbjni:9.8.4 - https://rocksdb.org)

Apache License, Version 2.0, LGPL 2.1, MPL 1.1

Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<commons-exec.version>1.4.0</commons-exec.version>
<commons-collections.version>4.4</commons-collections.version>
<commons-fileupload.version>1.5</commons-fileupload.version>
<commons-codec.version>1.17.1</commons-codec.version>
<commons-codec.version>1.17.2</commons-codec.version>
<commons-text.version>1.13.0</commons-text.version>
<commons-cli.version>1.9.0</commons-cli.version>
<curator.version>5.7.1</curator.version>
Expand Down Expand Up @@ -146,7 +146,7 @@
<maven-resolver.version>1.9.22</maven-resolver.version>
<maven.version>3.9.9</maven.version>
<azure-eventhubs.version>0.13.1</azure-eventhubs.version>
<jersey.version>3.1.9</jersey.version>
<jersey.version>3.1.10</jersey.version>
<dropwizard.version>4.0.11</dropwizard.version>
<j2html.version>1.6.0</j2html.version>
<caffeine.version>3.1.8</caffeine.version>
Expand All @@ -155,7 +155,7 @@
<jakarta-jaxws-version>3.1.0</jakarta-jaxws-version>
<jaxb-version>2.3.1</jaxb-version>
<activation-version>1.1.1</activation-version>
<rocksdb-jni-version>9.7.3</rocksdb-jni-version>
<rocksdb-jni-version>9.8.4</rocksdb-jni-version>
<json-smart.version>2.5.1</json-smart.version>
<byte-buddy.version>1.15.11</byte-buddy.version>
<gson.version>2.11.0</gson.version>
Expand Down
2 changes: 1 addition & 1 deletion sql/storm-sql-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.12.0</version>
<version>1.13.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public static List<ACL> getNimbusAcls(Map<String, Object> conf) {
NIMBUS_SUBJECT.getPrincipals().add(new NimbusPrincipal());
NIMBUS_SUBJECT.setReadOnly();
}

private static final TopologyStateTransition NOOP_TRANSITION = (arg, nimbus, topoId, base) -> null;
private static final TopologyStateTransition INACTIVE_TRANSITION = (arg, nimbus, topoId, base) -> Nimbus.make(TopologyStatus.INACTIVE);
private static final TopologyStateTransition ACTIVE_TRANSITION = (arg, nimbus, topoId, base) -> Nimbus.make(TopologyStatus.ACTIVE);
Expand Down Expand Up @@ -3218,7 +3218,7 @@ private CommonTopoInfo getCommonTopoInfo(String topoId, String operation) throws
ret.allComponents = new HashSet<>(ret.taskToComponent.values());
return ret;
}

@VisibleForTesting
public boolean awaitLeadership(long timeout, TimeUnit timeUnit) throws InterruptedException {
return leaderElector.awaitLeadership(timeout, timeUnit);
Expand Down Expand Up @@ -4109,6 +4109,8 @@ public void createStateInZookeeper(String key) throws TException {
state.setupBlob(key, ni, getVersionForKey(key, ni, zkClient));
}
LOG.debug("Created state in zookeeper {} {} {}", state, store, ni);
} catch (KeyNotFoundException e) {
LOG.warn("Key not found while creating state in zookeeper - key: " + key, e);
} catch (Exception e) {
LOG.warn("Exception while creating state in zookeeper - key: " + key, e);
if (e instanceof TException) {
Expand Down Expand Up @@ -5313,7 +5315,7 @@ private static class CommonTopoInfo {
private static class ClusterSummaryMetrics implements MetricSet {
private static final String SUMMARY = "summary";
private final Map<String, com.codahale.metrics.Metric> metrics = new HashMap<>();

public com.codahale.metrics.Metric put(String key, com.codahale.metrics.Metric value) {
return metrics.put(MetricRegistry.name(SUMMARY, key), value);
}
Expand All @@ -5323,12 +5325,12 @@ public Map<String, com.codahale.metrics.Metric> getMetrics() {
return metrics;
}
}

private class ClusterSummaryMetricSet implements Runnable {
private static final int CACHING_WINDOW = 5;

private final ClusterSummaryMetrics clusterSummaryMetrics = new ClusterSummaryMetrics();

private final Function<String, Histogram> registerHistogram = (name) -> {
//This histogram reflects the data distribution across only one ClusterSummary, i.e.,
// data distribution across all entities of a type (e.g., data from all nimbus/topologies) at one moment.
Expand Down
Loading

0 comments on commit e596015

Please sign in to comment.