-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Upgrade GCS client to 2.2.8 #3507
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
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 |
|---|---|---|
|
|
@@ -58,7 +58,7 @@ | |
| <dep.oracle.version>19.3.0.0</dep.oracle.version> | ||
| <dep.drift.version>1.14</dep.drift.version> | ||
| <dep.tempto.version>189</dep.tempto.version> | ||
| <dep.gcs.version>2.0.0</dep.gcs.version> | ||
| <dep.gcs.version>2.2.8</dep.gcs.version> | ||
| <dep.errorprone.version>2.15.0</dep.errorprone.version> | ||
| <dep.testcontainers.version>1.17.3</dep.testcontainers.version> | ||
| <dep.duct-tape.version>1.0.8</dep.duct-tape.version> | ||
|
|
@@ -1114,42 +1114,15 @@ | |
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>gcs-connector</artifactId> | ||
| <version>hadoop2-${dep.gcs.version}</version> | ||
| <classifier>shaded</classifier> | ||
|
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. Why did you opt for shading?
Member
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. I think it is because we can have issues with other dependencies without shading. |
||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>log4j</groupId> | ||
| <artifactId>log4j</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>org.slf4j</groupId> | ||
| <artifactId>slf4j-log4j12</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>gcsio</artifactId> | ||
| <version>${dep.gcs.version}</version> | ||
| <exclusions> | ||
| <exclusion> | ||
| <groupId>com.google.code.gson</groupId> | ||
| <artifactId>gson</artifactId> | ||
| <groupId>*</groupId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>util</artifactId> | ||
| <version>${dep.gcs.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>util-hadoop</artifactId> | ||
| <version>hadoop2-${dep.gcs.version}</version> | ||
| </dependency> | ||
|
|
||
| <dependency> | ||
| <groupId>com.google.errorprone</groupId> | ||
| <artifactId>error_prone_annotations</artifactId> | ||
|
|
@@ -1951,6 +1924,44 @@ | |
| <useNativeGit>true</useNativeGit> | ||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.basepom.maven</groupId> | ||
| <artifactId>duplicate-finder-maven-plugin</artifactId> | ||
|
Member
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. What it takes to fix issues instead of ignoring them? Can you please list issues that got without this?
Member
Author
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. Here are the issues:
Member
Author
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. Second warning is from the
Member
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. Thank you for the update. |
||
| <configuration> | ||
| <exceptions combine.children="append"> | ||
| <exception> | ||
| <conflictingDependencies> | ||
| <dependency> | ||
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>gcs-connector</artifactId> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.httpcomponents</groupId> | ||
| <artifactId>httpclient</artifactId> | ||
| </dependency> | ||
| </conflictingDependencies> | ||
| <resources> | ||
| <resource>mozilla/public-suffix-list.txt</resource> | ||
| </resources> | ||
| </exception> | ||
| <exception> | ||
| <conflictingDependencies> | ||
| <dependency> | ||
| <groupId>com.google.api</groupId> | ||
| <artifactId>gax</artifactId> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.cloud.bigdataoss</groupId> | ||
| <artifactId>gcs-connector</artifactId> | ||
| </dependency> | ||
| </conflictingDependencies> | ||
| <resources> | ||
| <resource>dependencies.properties</resource> | ||
|
Comment on lines
1949
to
1959
Member
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. both are Google-provided. why do they conflict? cc @medb
Member
Author
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. lmk if there's a better way to handle it.
Member
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. This is probably because GCS connector also depends on GAX and during shading packages GAX's |
||
| </resources> | ||
| </exception> | ||
| </exceptions> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </pluginManagement> | ||
|
|
||
|
|
||
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.
This import may have been easier to read than new static import.
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.
i agree, "SCHEME" is not a good name to import statically
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.
@elonazoulay let's leave this file as it was before this PR.