You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/09/09 02:40:39 UTC
[GitHub] [spark] viirya opened a new pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
viirya opened a new pull request #33940:
URL: https://github.com/apache/spark/pull/33940
<!--
Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
4. Be sure to keep the PR description updated to reflect all changes.
5. Please write your PR title to summarize what this PR proposes.
6. If possible, provide a concise example to reproduce the issue for a faster review.
7. If you want to add a new configuration, please read the guideline first for naming configurations in
'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
8. If you want to add or modify an error type or message, please read the guideline first in
'core/src/main/resources/error/README.md'.
-->
### What changes were proposed in this pull request?
<!--
Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue.
If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
2. If you fix some SQL features, you can provide some references of other DBMSes.
3. If there is design documentation, please add the link.
4. If there is a discussion in the mailing list, please add the link.
-->
This patch proposes to add a few LZ4 wrapper classes for Parquet Lz4 compression output that uses Hadoop Lz4 codec.
### Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
-->
Currently we use Hadop 3.3.1's shaded client libraries. Lz4 is a provided dependency in Hadoop Common 3.3.1 for Lz4Codec. But it isn't excluded from relocation in these libraries. So to use lz4 as Parquet codec, we will hit the exception even we include lz4 as dependency.
```
[info] Cause: java.lang.NoClassDefFoundError: org/apache/hadoop/shaded/net/jpountz/lz4/LZ4Factory
[info] at org.apache.hadoop.io.compress.lz4.Lz4Compressor.<init>(Lz4Compressor.java:66)
[info] at org.apache.hadoop.io.compress.Lz4Codec.createCompressor(Lz4Codec.java:119)
[info] at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:152)
[info] at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:168)
```
Before the issue is fixed at Hadoop new release, we can add a few wrapper classes for Lz4 codec.
### Does this PR introduce _any_ user-facing change?
<!--
Note that it means *any* user-facing change including all aspects such as the documentation fix.
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
If no, write 'No'.
-->
No
### How was this patch tested?
<!--
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
-->
Modified test.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915792792
**[Test build #143102 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143102/testReport)** for PR 33940 at commit [`b665d1c`](https://github.com/apache/spark/commit/b665d1c6476d541d248fc8eab03d2bc91bbf9b25).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915837796
**[Test build #143113 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143113/testReport)** for PR 33940 at commit [`df00bab`](https://github.com/apache/spark/commit/df00babd9b6d8e90cb3e052aaf55786e409037a0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915802238
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143102/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915837796
**[Test build #143113 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143113/testReport)** for PR 33940 at commit [`df00bab`](https://github.com/apache/spark/commit/df00babd9b6d8e90cb3e052aaf55786e409037a0).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] viirya commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
viirya commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915715584
After discussing with some PMC members, more preferred direction now is to document snappy issue as known issue for 3.2. Here to deal with lz4 issue, so to add lz4 wrappers back.
cc @dbtsai @dongjoon-hyun @sunchao @cloud-fan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915733368
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915946572
**[Test build #143113 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143113/testReport)** for PR 33940 at commit [`df00bab`](https://github.com/apache/spark/commit/df00babd9b6d8e90cb3e052aaf55786e409037a0).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915716085
**[Test build #143100 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143100/testReport)** for PR 33940 at commit [`f649d6c`](https://github.com/apache/spark/commit/f649d6c34950f3d117d3dac7ee35f2fe127a4457).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915734319
**[Test build #143102 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143102/testReport)** for PR 33940 at commit [`b665d1c`](https://github.com/apache/spark/commit/b665d1c6476d541d248fc8eab03d2bc91bbf9b25).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] viirya commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
viirya commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-916254967
Thanks! Merging to master/3.2.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915906350
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47618/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-916433201
+1, late LGTM like the first PR. Thank you, @viirya and @cloud-fan .
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915964868
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143113/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915733368
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143100/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915802238
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143102/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915770901
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47606/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915720657
**[Test build #143100 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143100/testReport)** for PR 33940 at commit [`f649d6c`](https://github.com/apache/spark/commit/f649d6c34950f3d117d3dac7ee35f2fe127a4457).
* This patch **fails Java style tests**.
* This patch merges cleanly.
* This patch adds no public classes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] viirya closed pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
viirya closed pull request #33940:
URL: https://github.com/apache/spark/pull/33940
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915734319
**[Test build #143102 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143102/testReport)** for PR 33940 at commit [`b665d1c`](https://github.com/apache/spark/commit/b665d1c6476d541d248fc8eab03d2bc91bbf9b25).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915749911
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47606/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915921357
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47618/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] viirya commented on a change in pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
viirya commented on a change in pull request #33940:
URL: https://github.com/apache/spark/pull/33940#discussion_r704940740
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/FileSourceCodecSuite.scala
##########
@@ -56,13 +56,12 @@ class ParquetCodecSuite extends FileSourceCodecSuite {
override def format: String = "parquet"
override val codecConfigName: String = SQLConf.PARQUET_COMPRESSION.key
// Exclude "lzo" because it is GPL-licenced so not included in Hadoop.
- // TODO(SPARK-36669): "lz4" codec fails due to HADOOP-17891.
override protected def availableCodecs: Seq[String] =
if (System.getProperty("os.arch") == "aarch64") {
// Exclude "brotli" due to PARQUET-1975.
- Seq("none", "uncompressed", "snappy", "gzip", "zstd")
+ Seq("none", "uncompressed", "snappy", "lz4", "gzip", "zstd")
Review comment:
Parquet uses its snappy codec, not hadoop's. So it is not affected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915775625
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47606/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915921357
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47618/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915733769
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47603/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] cloud-fan commented on a change in pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #33940:
URL: https://github.com/apache/spark/pull/33940#discussion_r704925840
##########
File path: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/FileSourceCodecSuite.scala
##########
@@ -56,13 +56,12 @@ class ParquetCodecSuite extends FileSourceCodecSuite {
override def format: String = "parquet"
override val codecConfigName: String = SQLConf.PARQUET_COMPRESSION.key
// Exclude "lzo" because it is GPL-licenced so not included in Hadoop.
- // TODO(SPARK-36669): "lz4" codec fails due to HADOOP-17891.
override protected def availableCodecs: Seq[String] =
if (System.getProperty("os.arch") == "aarch64") {
// Exclude "brotli" due to PARQUET-1975.
- Seq("none", "uncompressed", "snappy", "gzip", "zstd")
+ Seq("none", "uncompressed", "snappy", "lz4", "gzip", "zstd")
Review comment:
Sorry I may miss some context. What's the problem with snappy? It's tested here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915876447
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47618/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] viirya edited a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
viirya edited a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915715584
After discussing with some PMC members, more preferred direction now is to document snappy issue as known issue for 3.2. Here to deal with lz4 issue that blocks 3.2, so to add lz4 wrappers back.
cc @dbtsai @dongjoon-hyun @sunchao @cloud-fan
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] gengliangwang commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
gengliangwang commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-917002041
Late +1, thanks for the fix!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915964868
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143113/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915775625
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/47606/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915716085
**[Test build #143100 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/143100/testReport)** for PR 33940 at commit [`f649d6c`](https://github.com/apache/spark/commit/f649d6c34950f3d117d3dac7ee35f2fe127a4457).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #33940: [SPARK-36669][SQL] Add Lz4 wrappers for Hadoop Lz4 codec
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #33940:
URL: https://github.com/apache/spark/pull/33940#issuecomment-915733760
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/47603/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org