Skip to content

ORC-1569: Remove HadoopShimsPre2_3, HadoopShimsPre2_6, HadoopShimsPre2_7 classes - #1724

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1569
Closed

dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:ORC-1569

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Jan 4, 2024 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to remove HadoopShimsPre2_3, HadoopShimsPre2_6, HadoopShimsPre2_7 classes and use HadoopShimsCurrent always.

Why are the changes needed?

  1. HadoopShimsCurrent supports not only Apache Hadoop 3+ but also Apache Hadoop 2.7+.

  2. Apache ORC 2.0 uses Hadoop 3.x shaded client doesn't need old shims for Hadoop 2.6 and olders.

In addition, Apache Spark community also has been using the shaded Hadoop client since Spark 3.2 (SPARK-33212) and dropped Hadoop 2 profile via SPARK-42452 completely at Spark 3.5.0.

How was this patch tested?

Pass the CIs.

@github-actions github-actions Bot added the JAVA label Jan 4, 2024
@dongjoon-hyun dongjoon-hyun added this to the 2.0.0 milestone Jan 4, 2024
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Could you review this, @williamhyun ?

@williamhyun williamhyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1 LGTM, I will merge this now.

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you!

@dongjoon-hyun
dongjoon-hyun deleted the ORC-1569 branch January 4, 2024 06:52
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
…2_7 classes

### What changes were proposed in this pull request?

This PR aims to remove `HadoopShimsPre2_3`, `HadoopShimsPre2_6`, `HadoopShimsPre2_7` classes and use `HadoopShimsCurrent` always.

### Why are the changes needed?

1. `HadoopShimsCurrent` supports not only Apache Hadoop 3+ but also Apache Hadoop 2.7+.

2. Apache ORC 2.0 uses Hadoop 3.x shaded client doesn't need old shims for Hadoop 2.6 and olders.
    - apache#1509

In addition, Apache Spark community also has been using the shaded Hadoop client since Spark 3.2 (SPARK-33212) and dropped `Hadoop 2` profile via [SPARK-42452](https://issues.apache.org/jira/browse/SPARK-42452) completely at Spark 3.5.0.

### How was this patch tested?

Pass the CIs.

Closes apache#1724 from dongjoon-hyun/ORC-1569.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@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.

2 participants