Skip to content

Conversation

@williamhyun
Copy link
Member

@williamhyun williamhyun commented Jul 1, 2020

What changes were proposed in this pull request?

This PR aims to upgrade to ZStd 1.4.5-4.

Why are the changes needed?

ZStd 1.4.5-4 fixes the following.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the Jenkins.

@williamhyun williamhyun changed the title [SPARK-XXX][BUILD] Upgrade to ZStd 1.4.5-4 [SPARK-32150][BUILD] Upgrade to ZStd 1.4.5-4 Jul 1, 2020
@SparkQA
Copy link

SparkQA commented Jul 1, 2020

Test build #124805 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 2, 2020

Looks okay to me. cc: @dongjoon-hyun @srowen

@srowen
Copy link
Member

srowen commented Jul 2, 2020

Looks OK to backport to 3.0.x right?

@maropu
Copy link
Member

maropu commented Jul 2, 2020

branch-3.0 still uses zstd v1.4.4 because we didn't merge the last zstd upgrade commit (#28682) into branch-3.0.

// zstd version in branch-3.0

spark/pom.xml

Line 668 in bdbfe6e

<version>1.4.4-3</version>

If there is no compatiblity issue and the fixes are somewhat critical, I think merging this into branch-3.0 looks fine.

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124821 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 2, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124843 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 2, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124844 has finished for PR 28969 at commit 7abf2b5.

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

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124845 has finished for PR 28969 at commit 7abf2b5.

  • This patch fails build dependency 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.

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124914 has finished for PR 28969 at commit 7abf2b5.

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

@SparkQA
Copy link

SparkQA commented Jul 2, 2020

Test build #124918 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 2, 2020

retest this please

1 similar comment
@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 5, 2020

Test build #124934 has started for PR 28969 at commit 7abf2b5.

@maropu
Copy link
Member

maropu commented Jul 6, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 6, 2020

Test build #125041 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 6, 2020

Test build #125062 has finished for PR 28969 at commit 7abf2b5.

  • This patch fails to generate documentation.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 6, 2020

Test build #125069 has started for PR 28969 at commit 7abf2b5.

@SparkQA
Copy link

SparkQA commented Jul 6, 2020

Test build #125133 has finished for PR 28969 at commit 7abf2b5.

  • This patch fails to generate documentation.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 7, 2020

Test build #125154 has finished for PR 28969 at commit 7abf2b5.

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

dongjoon-hyun added a commit that referenced this pull request Jul 8, 2020
### What changes were proposed in this pull request?

This PR aims to disable SBT `unidoc` generation testing in Jenkins environment because it's flaky in Jenkins environment and not used for the official documentation generation. Also, GitHub Action has the correct test coverage for the official documentation generation.

- #28848 (comment) (amp-jenkins-worker-06)
- #28926 (comment) (amp-jenkins-worker-06)
- #28969 (comment) (amp-jenkins-worker-06)
- #28975 (comment) (amp-jenkins-worker-05)
- #28986 (comment)  (amp-jenkins-worker-05)
- #28992 (comment) (amp-jenkins-worker-06)
- #28993 (comment) (amp-jenkins-worker-05)
- #28999 (comment) (amp-jenkins-worker-04)
- #29010 (comment) (amp-jenkins-worker-03)
- #29013 (comment) (amp-jenkins-worker-04)
- #29016 (comment) (amp-jenkins-worker-05)
- #29025 (comment) (amp-jenkins-worker-04)
- #29042 (comment) (amp-jenkins-worker-03)

### Why are the changes needed?

Apache Spark `release-build.sh` generates the official document by using the following command.
- https://github.com/apache/spark/blob/master/dev/create-release/release-build.sh#L341

```bash
PRODUCTION=1 RELEASE_VERSION="$SPARK_VERSION" jekyll build
```

And, this is executed by the following `unidoc` command for Scala/Java API doc.
- https://github.com/apache/spark/blob/master/docs/_plugins/copy_api_dirs.rb#L30

```ruby
system("build/sbt -Pkinesis-asl clean compile unidoc") || raise("Unidoc generation failed")
```

However, the PR builder disabled `Jekyll build` and instead has a different test coverage.
```python
# determine if docs were changed and if we're inside the amplab environment
# note - the below commented out until *all* Jenkins workers can get `jekyll` installed
# if "DOCS" in changed_modules and test_env == "amplab_jenkins":
#    build_spark_documentation()
```

```
Building Unidoc API Documentation
========================================================================
[info] Building Spark unidoc using SBT with these arguments:
-Phadoop-3.2 -Phive-2.3 -Pspark-ganglia-lgpl -Pkubernetes -Pmesos
-Phadoop-cloud -Phive -Phive-thriftserver -Pkinesis-asl -Pyarn unidoc
```

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

No. (This is used only for testing and not used in the official doc generation.)

### How was this patch tested?

Pass the Jenkins without doc generation invocation.

Closes #29017 from dongjoon-hyun/SPARK-DOC-GEN.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@SparkQA
Copy link

SparkQA commented Jul 8, 2020

Test build #125396 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 8, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125418 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125430 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125438 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125444 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125467 has started for PR 28969 at commit 7abf2b5.

@SparkQA
Copy link

SparkQA commented Jul 9, 2020

Test build #125504 has finished for PR 28969 at commit 7abf2b5.

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

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125519 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 10, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125541 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125560 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125575 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125607 has finished for PR 28969 at commit 7abf2b5.

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

@SparkQA
Copy link

SparkQA commented Jul 10, 2020

Test build #125629 has finished for PR 28969 at commit 7abf2b5.

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

@SparkQA
Copy link

SparkQA commented Jul 11, 2020

Test build #125652 has finished for PR 28969 at commit 7abf2b5.

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

@maropu
Copy link
Member

maropu commented Jul 11, 2020

retest this please

@SparkQA
Copy link

SparkQA commented Jul 11, 2020

Test build #125673 has finished for PR 28969 at commit 7abf2b5.

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

@HyukjinKwon
Copy link
Member

Merged to master.

holdenk pushed a commit to holdenk/spark that referenced this pull request Oct 27, 2020
### What changes were proposed in this pull request?

This PR aims to upgrade to ZStd 1.4.5-4.

### Why are the changes needed?

ZStd 1.4.5-4 fixes the following.

- luben/zstd-jni@3d16e51
- luben/zstd-jni@3d51bdc
### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the Jenkins.

Closes apache#28969 from williamhyun/zstd2.

Authored-by: William Hyun <[email protected]>
Signed-off-by: HyukjinKwon <[email protected]>
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.

6 participants