-
Notifications
You must be signed in to change notification settings - Fork 170
chore(hadoop): switch to hadoop shaded client #2767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,6 +57,7 @@ | |
| <awaitility.version>4.2.0</awaitility.version> | ||
| <checkstyle.version>9.3</checkstyle.version> | ||
| <commons-collections4.version>4.4</commons-collections4.version> | ||
| <commons-io.version>2.16.1</commons-io.version> | ||
| <commons-logging.version>1.2</commons-logging.version> | ||
| <commons-lang3.version>3.10</commons-lang3.version> | ||
| <commons-codec.version>1.9</commons-codec.version> | ||
|
|
@@ -69,6 +70,9 @@ | |
| <guava.version>32.1.3-jre</guava.version> | ||
| <hadoop.scope>provided</hadoop.scope> | ||
| <hadoop.version>2.8.5</hadoop.version> | ||
| <hadoop-client-api.artifactId>hadoop-common</hadoop-client-api.artifactId> | ||
| <hadoop-client-runtime.artifactId>hadoop-client</hadoop-client-runtime.artifactId> | ||
| <hadoop-minicluster.artifactId>hadoop-minicluster</hadoop-minicluster.artifactId> | ||
| <httpclient.version>4.5.3</httpclient.version> | ||
| <httpcore.version>4.4.4</httpcore.version> | ||
| <java.version>1.8</java.version> | ||
|
|
@@ -339,6 +343,13 @@ | |
| <artifactId>commons-collections4</artifactId> | ||
| <version>${commons-collections4.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-io</groupId> | ||
| <artifactId>commons-io</artifactId> | ||
| <version>${commons-io.version}</version> | ||
| <!-- commonis-io introduced by hadoop-client, so mark it as provided --> | ||
| <scope>provided</scope> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pinning |
||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-codec</groupId> | ||
| <artifactId>commons-codec</artifactId> | ||
|
|
@@ -408,7 +419,7 @@ | |
|
|
||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-common</artifactId> | ||
| <artifactId>${hadoop-client-api.artifactId}</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| <scope>${hadoop.scope}</scope> | ||
| <exclusions> | ||
|
|
@@ -438,7 +449,7 @@ | |
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-client</artifactId> | ||
| <artifactId>${hadoop-client-runtime.artifactId}</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| <scope>${hadoop.scope}</scope> | ||
| <exclusions> | ||
|
|
@@ -641,7 +652,7 @@ | |
|
|
||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-minicluster</artifactId> | ||
| <artifactId>${hadoop-minicluster.artifactId}</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| <scope>test</scope> | ||
| <exclusions> | ||
|
|
@@ -1973,6 +1984,9 @@ | |
| <spark.version>4.0.2</spark.version> | ||
| <client.type>4</client.type> | ||
| <hadoop.version>3.4.1</hadoop.version> | ||
| <hadoop-client-api.artifactId>hadoop-client-api</hadoop-client-api.artifactId> | ||
| <hadoop-client-runtime.artifactId>hadoop-client-runtime</hadoop-client-runtime.artifactId> | ||
| <hadoop-minicluster.artifactId>hadoop-client-minicluster</hadoop-minicluster.artifactId> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After |
||
| <fasterxml.jackson.version>2.12.7</fasterxml.jackson.version> | ||
| <jetty.version>9.4.53.v20231009</jetty.version> | ||
| <enforcer.skip>true</enforcer.skip> | ||
|
|
@@ -2083,6 +2097,16 @@ | |
| </dependencies> | ||
| </dependencyManagement> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>${hadoop-client-api.artifactId}</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>${hadoop-client-runtime.artifactId}</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <!-- Remove log4j-slf4j-impl dependency --> | ||
| <dependency> | ||
| <groupId>org.apache.logging.log4j</groupId> | ||
|
|
@@ -2124,6 +2148,9 @@ | |
| <netty.version>4.2.7.Final</netty.version> | ||
| <client.type>4</client.type> | ||
| <hadoop.version>3.4.1</hadoop.version> | ||
| <hadoop-client-api.artifactId>hadoop-client-api</hadoop-client-api.artifactId> | ||
| <hadoop-client-runtime.artifactId>hadoop-client-runtime</hadoop-client-runtime.artifactId> | ||
| <hadoop-minicluster.artifactId>hadoop-client-minicluster</hadoop-minicluster.artifactId> | ||
| <fasterxml.jackson.version>2.12.7</fasterxml.jackson.version> | ||
| <jetty.version>9.4.53.v20231009</jetty.version> | ||
| <enforcer.skip>true</enforcer.skip> | ||
|
|
@@ -2240,6 +2267,16 @@ | |
| </dependencies> | ||
| </dependencyManagement> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>${hadoop-client-api.artifactId}</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>${hadoop-client-runtime.artifactId}</artifactId> | ||
| <scope>provided</scope> | ||
| </dependency> | ||
| <!-- Remove log4j-slf4j-impl dependency --> | ||
| <dependency> | ||
| <groupId>org.apache.logging.log4j</groupId> | ||
|
|
@@ -2617,7 +2654,7 @@ | |
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-common</artifactId> | ||
| <artifactId>${hadoop-client-api.artifactId}</artifactId> | ||
| <version>${hadoop.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
|
|
@@ -2687,13 +2724,19 @@ | |
| <properties> | ||
| <hadoop.version>2.8.5</hadoop.version> | ||
| <hadoop.short.version>2.8</hadoop.short.version> | ||
| <hadoop-minicluster.artifactId>hadoop-minicluster</hadoop-minicluster.artifactId> | ||
| </properties> | ||
| </profile> | ||
| <profile> | ||
| <id>hadoop3.2</id> | ||
| <properties> | ||
| <hadoop.version>3.2.1</hadoop.version> | ||
| <hadoop.short.version>3.2</hadoop.short.version> | ||
| <!-- | ||
| HADOOP-17324: Hadoop 3.2.x hadoop-client-minicluster does not include the shaded | ||
| Bouncy Castle classes required by the Kerberos MiniDFS tests. | ||
| --> | ||
| <hadoop-minicluster.artifactId>hadoop-minicluster</hadoop-minicluster.artifactId> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The PR description says "Hadoop 3.2 and Spark 4 profiles use hadoop-client-minicluster", which contradicts the code. The |
||
| <commons-codec.version>1.11</commons-codec.version> | ||
| <metrics.version>3.2.4</metrics.version> | ||
| </properties> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test-scoped commons-io added to the
clientmodule isn't referenced anywhere underclient/src(neither main nor test). Is it covering a transitive test dependency after the hadoop artifact switch, or just added along the way? Drop it if it's not needed; add a one-line comment if it is.