Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b03f3e9
ODP-1095 CVE Fix jettison upgrade
manishsinghmowall Feb 12, 2024
9784604
gson upgraded to 2.9.0
kravii Feb 13, 2024
c71a5a7
ODP-1098: Upgrade jackson from 2.10.5 to 2.13.2.2
prabhjyotsingh Feb 14, 2024
4c040b7
ODP-1099 | Upgrade jetty version to 9.4.43.v20210629
kravii Feb 14, 2024
0436027
ODP-1104 | snappy-java to 1.1.10.4, snappy-java to 1.1.10.4
kravii Feb 15, 2024
66544b9
ODP-1103: HADOOP-11245. Update NFS gateway to use Netty4 (#2832)
prabhjyotsingh Feb 15, 2024
1f5f021
ODP-1103: HADOOP-15327. Upgrade MR ShuffleHandler to use Netty4 #3259…
prabhjyotsingh Feb 15, 2024
4e86194
ODP-1104 | update guava.version to 32.0.1-jre
kravii Feb 15, 2024
3c90888
YARN-9081. Update jackson from 1.9.13 to 2.x in hadoop-yarn-services-…
prabhjyotsingh Feb 16, 2024
83fdeb8
ODP-1119-snakeyaml dependency: upgrade to v2.0
kravii Feb 20, 2024
4f81c22
ODP-1098: add javax.ws.rs-api - 2.1.1 dependency
prabhjyotsingh Feb 22, 2024
2aa2412
ODP-1104 | mvn dependency fix for snappy-java in hadoop-yarn-server-t…
kravii Feb 26, 2024
2eac5a4
TAG change 3.2.3.3.2.2.0-1095
kravii Mar 18, 2024
81a7f3c
TAG change2 3.2.3.3.2.2.0-1095
kravii Mar 18, 2024
490f816
TAG change3 3.2.3.3.2.3.0-1095
kravii Mar 18, 2024
cc5b23f
TAG change4 3.2.3.3.2.2.0-2
kravii Mar 18, 2024
65fb60e
ODP-1095: set hadoop version as 3.2.3.3.2.2.0-1095
prabhjyotsingh Mar 19, 2024
49bb088
HADOOP-18950. Use shaded avro jar
prabhjyotsingh Mar 20, 2024
9030004
ODP-1103|netty4 upgrade to 4.1.94
kravii Mar 21, 2024
fb9731c
jettison dependency exclusion from hadoop-common
manishsinghmowall Mar 23, 2024
cc39812
zookeeper release corrected to 3.2.2.0-1095
kravii Mar 23, 2024
7099fcd
excluded jackson-core-asl from hadoop-yarn-server-timelineservice-hba…
manishsinghmowall Mar 27, 2024
b44c306
distribution management addition
manishsinghmowall Mar 27, 2024
af6a51a
ODP-1103: remove netty jar from hadoop-yarn-server-timelineservice-hb…
prabhjyotsingh Mar 27, 2024
b941e5b
HADOOP-18512. Upgrade woodstox-core to 5.4.0 for security fix
kravii Apr 4, 2024
eb6b972
fixed typo
kravii Apr 4, 2024
992aa2a
HADOOP-17033. Update commons-codec from 1.11 to 1.14
kravii Apr 4, 2024
e89b8cf
Fixed maven pom across all pom
shubhluck May 2, 2024
dbee66a
Merge branch 'ODP-main' into ODP-1095
shubhluck May 2, 2024
24349aa
Removing not required file
shubhluck May 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 36 additions & 16 deletions hadoop-client-modules/hadoop-client-minicluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<!-- exclude things that came in via transitive in shaded runtime and api -->
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<artifactId>netty-all</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
Expand All @@ -130,6 +130,10 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.curator</groupId>
<artifactId>curator-client</artifactId>
Expand Down Expand Up @@ -417,29 +421,25 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<groupId>com.github.pjfanning</groupId>
<artifactId>jersey-json</artifactId>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-jaxrs</artifactId>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-xc</artifactId>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand All @@ -449,9 +449,23 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-servlet</artifactId>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-servlet</artifactId>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
<exclusion>
<groupId>javax.enterprise</groupId>
<artifactId>cdi-api</artifactId>
</exclusion>
<exclusion>
<groupId>ch.qos.cal10n</groupId>
<artifactId>cal10n-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- skip org.apache.avro:avro-ipc because it doesn't look like hadoop-common actually uses it -->
<dependency>
Expand Down Expand Up @@ -723,6 +737,12 @@
<exclude>testdata/*</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.code.gson:gson</artifact>
<excludes>
<exclude>META-INF/versions/9/module-info.class</exclude>
</excludes>
</filter>
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
<filter>
<artifact>org.mockito:mockito-all</artifact>
Expand Down
7 changes: 7 additions & 0 deletions hadoop-client-modules/hadoop-client-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
<!-- Leave javax APIs that are stable -->
<!-- the jdk ships part of the javax.annotation namespace, so if we want to relocate this we'll have to care it out by class :( -->
<exclude>com.google.code.findbugs:jsr305</exclude>
<exclude>io.netty:*</exclude>
<exclude>io.dropwizard.metrics:metrics-core</exclude>
<!-- Leave bouncycastle unshaded because it's signed with a special Oracle certificate so it can be a custom JCE security provider -->
<exclude>org.bouncycastle:*</exclude>
Expand Down Expand Up @@ -221,6 +222,12 @@
<exclude>ccache.txt</exclude>
</excludes>
</filter>
<filter>
<artifact>com.google.code.gson:gson</artifact>
<excludes>
<exclude>META-INF/versions/9/module-info.class</exclude>
</excludes>
</filter>
<!-- remove utility classes which are not required from
dnsjava -->
<filter>
Expand Down
48 changes: 40 additions & 8 deletions hadoop-client-modules/hadoop-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,12 @@
<artifactId>jersey-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<groupId>com.github.pjfanning</groupId>
<artifactId>jersey-json</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
Expand Down Expand Up @@ -110,6 +114,10 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
Expand Down Expand Up @@ -162,17 +170,25 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<groupId>com.github.pjfanning</groupId>
<artifactId>jersey-json</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<artifactId>netty-all</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down Expand Up @@ -208,6 +224,10 @@
<exclusion>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
Expand All @@ -218,7 +238,7 @@
<artifactId>jersey-server</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<groupId>com.github.pjfanning</groupId>
<artifactId>jersey-json</artifactId>
</exclusion>
<exclusion>
Expand All @@ -227,7 +247,7 @@
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<artifactId>netty-all</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.inject.extensions</groupId>
Expand Down Expand Up @@ -266,6 +286,10 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-annotations</artifactId>
Expand All @@ -275,12 +299,16 @@
<artifactId>guice-servlet</artifactId>
</exclusion>
<exclusion>
<groupId>com.sun.jersey</groupId>
<groupId>com.github.pjfanning</groupId>
<artifactId>jersey-json</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<artifactId>netty-all</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand All @@ -298,6 +326,10 @@
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop.thirdparty</groupId>
<artifactId>hadoop-shaded-avro_1_11</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-annotations</artifactId>
Expand All @@ -308,7 +340,7 @@
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
<artifactId>netty-all</artifactId>
</exclusion>
</exclusions>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.hadoop.classification;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* Annotates a program element that exists, or is more widely visible than
* otherwise necessary, specifically for use in test code.
* More precisely <i>test code within the hadoop-* modules</i>.
* Moreover, this gives the implicit scope and stability of:
* <pre>
* {@link InterfaceAudience.Private}
* {@link InterfaceStability.Unstable}
* </pre>
* If external modules need to access/override these methods, then
* they MUST be re-scoped as public/limited private.
*/
@Retention(RetentionPolicy.CLASS)
@Target({ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR })
@Documented
public @interface VisibleForTesting {
}
Loading