Skip to content

[SPARK-31655][BUILD][3.0] Upgrade snappy-java to 1.1.7.5 #28509

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

Closed
wants to merge 1 commit into from

Conversation

AngersZhuuuu
Copy link
Contributor

What changes were proposed in this pull request?

snappy-java have release v1.1.7.5, upgrade to latest version.

Fixed in v1.1.7.4

Fixed in v1.1.7.5

  • Fixes java.lang.NoClassDefFoundError: org/xerial/snappy/pool/DefaultPoolFactory in 1.1.7.4

xerial/snappy-java@1.1.7.3...1.1.7.5

v 1.1.7.5 release note:
xerial/snappy-java@edc4ec2

Why are the changes needed?

Fix bug

Does this PR introduce any user-facing change?

No

How was this patch tested?

No need

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we can have a valid unit test case for this? (non-ppc64le part)

@SparkQA
Copy link

SparkQA commented May 12, 2020

Test build #122532 has finished for PR 28509 at commit 692db6a.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

BTW, currently, Jenkins jobs seems to be broken due to some outside issues.

@AngersZhuuuu
Copy link
Contributor Author

BTW, currently, Jenkins jobs seems to be broken due to some outside issues.

No wonder this strange mistake

@AngersZhuuuu
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented May 12, 2020

Test build #122542 has finished for PR 28509 at commit 692db6a.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented May 12, 2020

This needs to go into master first, right?

@AngersZhuuuu
Copy link
Contributor Author

This needs to go into master first, right?

Has been merged into master
#28472

Backport to 2.4 & 3.0 now.

Seems jenkins have some problem

@srowen
Copy link
Member

srowen commented May 12, 2020

Does test-dependencies.sh pass locally? I don't see any clear output here.

@AngersZhuuuu
Copy link
Contributor Author

Does test-dependencies.sh pass locally? I don't see any clear output here.

Yeah, in local can pass it.

@dongjoon-hyun
Copy link
Member

Retest this please.

@SparkQA
Copy link

SparkQA commented May 12, 2020

Test build #122556 has finished for PR 28509 at commit 692db6a.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AngersZhuuuu
Copy link
Contributor Author

AngersZhuuuu commented May 13, 2020

Retest this please.

Do you know what happened? seems in master mvn is different from branch-3.0 and branch-2.4

In master's succes build

exec: curl --silent --show-error -L https://downloads.lightbend.com/zinc/0.3.15/zinc-0.3.15.tgz
exec: curl --silent --show-error -L https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz
exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua?action=download&filename=/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
Using `mvn` from path: /home/jenkins/workspace/Spark............
..............

In branch 3.0 failed build

========================================================================
Running build tests
========================================================================
exec: curl -s -L https://downloads.lightbend.com/zinc/0.3.15/zinc-0.3.15.tgz
exec: curl -s -L https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz
exec: curl -s -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
Using `mvn` from path: /home/jenkins/workspace/SparkPullRequestBuilder/build/apache-maven-3.6.3/bin/mvn
Using `mvn` from path: /home/jenkins/workspace/SparkPullRequestBuilder/build/apache-maven-3.6.3/bin/mvn
Performing Maven install for hadoop-2.7-hive-1.2
Falling back to archive.apache.org to download Maven

in Branch-2.4 failed build

RAT checks passed.

========================================================================
Running build tests
========================================================================
Using `mvn` from path: /home/jenkins/workspace/SparkPullRequestBuilder@2/build/apache-maven-3.5.4/bin/mvn
Using `mvn` from path: /home/jenkins/workspace/SparkPullRequestBuilder@2/build/apache-maven-3.5.4/bin/mvn
Performing Maven install for hadoop-2.6
Falling back to archive.apache.org to download Maven

@AngersZhuuuu
Copy link
Contributor Author

In auto check, test-deps.sh success.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented May 13, 2020

There is a network outage in the Jenkins farm.
Please see the current status.

@AngersZhuuuu
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented May 14, 2020

Test build #122602 has finished for PR 28509 at commit 692db6a.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

FYI, the dependency failure will be fixed by the following.

@dongjoon-hyun
Copy link
Member

Retest this please.

@SparkQA
Copy link

SparkQA commented May 15, 2020

Test build #122652 has finished for PR 28509 at commit 692db6a.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@maropu
Copy link
Member

maropu commented May 15, 2020

retest this please

@SparkQA
Copy link

SparkQA commented May 15, 2020

Test build #122655 has finished for PR 28509 at commit 692db6a.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AngersZhuuuu
Copy link
Contributor Author

retest this please

@SparkQA
Copy link

SparkQA commented May 16, 2020

Test build #122725 has finished for PR 28509 at commit 692db6a.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AngersZhuuuu
Copy link
Contributor Author

@dongjoon-hyun Seems something still wrong, missing something on branch-3.0?

@dongjoon-hyun
Copy link
Member

Yes. amp-jenkins-worker-05 server is still broken. If you click the Jenkins log, you can see that it failed on amp-jenkins-worker-05 in 10 minutes.

@dongjoon-hyun
Copy link
Member

BTW, the previous failed UT, support multiple barrier() call within a single task, is disabled by @cloud-fan now. I merged it. Let's test again.

@dongjoon-hyun
Copy link
Member

Retest this please

@srowen
Copy link
Member

srowen commented May 16, 2020

Hm, I wonder if mvn -U dependency:purge-local-repository would help, like opening a PR that just tries changing this in the test script, to see if it can be run once on the offending machine (and then not merge it)

@dongjoon-hyun
Copy link
Member

Thank you for the tip. Yes. It's possible, but in a shared cluster, is it okay to purge it by one Maven job while the other Maven jobs are working? Maybe, we can enforce it at the specific single machine by recognizing the machine name because the machine seems to fail already always in any way.

@srowen
Copy link
Member

srowen commented May 16, 2020

Hm, not sure. I think it's thread-safe. At least, if it doesn't work at all now, can't be much worse. This would not be merged, just a one-time thing.

@dongjoon-hyun
Copy link
Member

Got it. I'll try to make a PR to purge it.

@SparkQA
Copy link

SparkQA commented May 16, 2020

Test build #122728 has finished for PR 28509 at commit 692db6a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Merged to branch-3.0.
cc @rxin and @yhuai since this is a dependency change in 3.0.

dongjoon-hyun pushed a commit that referenced this pull request May 16, 2020
### What changes were proposed in this pull request?

snappy-java have release v1.1.7.5, upgrade to latest version.

Fixed in v1.1.7.4
- Caching internal buffers for SnappyFramed streams #234
- Fixed the native lib for ppc64le to work with glibc 2.17 (Previously it depended on 2.22)

Fixed in v1.1.7.5
- Fixes java.lang.NoClassDefFoundError: org/xerial/snappy/pool/DefaultPoolFactory in 1.1.7.4

xerial/snappy-java@1.1.7.3...1.1.7.5

v 1.1.7.5 release note:
xerial/snappy-java@edc4ec2
### Why are the changes needed?
Fix bug

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
No need

Closes #28509 from AngersZhuuuu/SPARK-31655-3.0.

Authored-by: angerszhu <angers.zhu@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants