-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Commit to remove vulnerabilities raised for: HADOOP-19074 #6586
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: trunk
Are you sure you want to change the base?
Conversation
1) Update Gauva to Version: 32.0.1-jre 2) Update Protobuf to Version: 3.21.12 2) Update Avro to Version: 1.11.3 4) Updated private access in the below files for Avro compability: - hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/serializer/avro/TestAvroSerialization.java - hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/jobhistory/JobQueueChangeEvent.java - hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/JobBuilder.java - hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/JobHistoryUtils.java - hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/LoggedTask.java - hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/LoggedTaskAttempt.java
💔 -1 overall
This message was automatically generated. |
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.
Hi @prathapsagar , thank you for contributing this improvement.
Could you pls address the checkstyle violation?
Thank you.
…/test/java/org/apache/hadoop/io/serializer/avro/TestAvroSerialization.java
Hi @dineshchitlangia I have resolved the check style violation and raised a new PR with the changes please validate: #6586 |
💔 -1 overall
This message was automatically generated. |
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.
each artifact updatate needs to be managed separately so we can rollback. that even includes a surefire update.
anything where we fix up to the shaded dependencies in hadoop-thirdparty need to go in there first and we can then cut a new version of that for 3.4.1.
for avro, we should look at cutting the unshaded version entirely. do we need to publish it?
@@ -151,7 +151,7 @@ | |||
<protobuf-maven-plugin.version>0.5.1</protobuf-maven-plugin.version> | |||
<maven-replacer-plugin.version>1.5.3</maven-replacer-plugin.version> | |||
|
|||
<protobuf-compile.version>3.5.1</protobuf-compile.version> | |||
<protobuf-compile.version>3.16.3</protobuf-compile.version> |
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.
obsoleted by HADOOP-19065. Update Protocol Buffers installation to 3.21.12 (#6526); needs a version change in hadoop-thirdparty which MUST come out before changing things here.
@@ -169,7 +169,7 @@ | |||
|
|||
<!-- Plugin versions and config --> | |||
<maven-surefire-plugin.argLine>-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError</maven-surefire-plugin.argLine> | |||
<maven-surefire-plugin.version>3.0.0-M1</maven-surefire-plugin.version> | |||
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version> |
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.
tried that and already had to revert. Now, if you are offering to fix all the test failures which surfaced, you can try again.
HADOOP-19071. Update maven-surefire-plugin from 3.0.0 to 3.2.5. (#6537)" (#6578)
@prathapsagar thanks for starting this. you are about to discover why it so hard to update dependencies. Everything we want to use in our own code should be defined in the thirdparty module, https://github.com/apache/hadoop-thirdparty the version numbers of things like protobuf in our own code must match those of the library version we build with, but they aren't where the values are incremented. (note: we should add comments there). |
💔 -1 overall
This message was automatically generated. |
Description of PR
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?