Skip to content

HIVE-25386: hive-storage-api should not have guava compile dependency#2531

Closed
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:HIVE-25386
Closed

HIVE-25386: hive-storage-api should not have guava compile dependency#2531
dongjoon-hyun wants to merge 1 commit intoapache:masterfrom
dongjoon-hyun:HIVE-25386

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jul 26, 2021

What changes were proposed in this pull request?

This PR aims to fix the recent regression of HIVE-24542 at hive-storage-api 2.8.0 release.

Why are the changes needed?

HIVE-13906 removed the compile dependency on Guava at Apache Hive 2.2.0.
So, the downstream like Apache ORC can use it cleanly. We should recover this regression.

Does this PR introduce any user-facing change?

Yes, this is a bug fix for the dependency change.

How was this patch tested?

Pass the CIs.

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Jul 26, 2021

cc @belugabehr and @miklosgergely from #1784 which introduced this regression.
cc @pgaref , @omalley , @sunchao , @pavibhai from Apache Hive hive-storage-api 2.8.0 release dev mailing thread.
cc @kbendick from Apache ORC PR, apache/orc#773 .

<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
Copy link
Member Author

@dongjoon-hyun dongjoon-hyun Jul 26, 2021

Choose a reason for hiding this comment

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

This was removed in the following commit without the reason of removal. I hope this recovers the dependency without breaking CIs.

If some CI fails, it means the regression already spread to the other modules.

Copy link
Contributor

@pgaref pgaref left a comment

Choose a reason for hiding this comment

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

Thanks for digging this up @dongjoon-hyun !
I am keeping an eye on this and the test results

Copy link
Contributor

@pgaref pgaref left a comment

Choose a reason for hiding this comment

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

Tests passed, change LGTM

@omalley omalley closed this in 4ce585f Jul 26, 2021
omalley pushed a commit that referenced this pull request Jul 26, 2021
Fixes #2531

Signed-off-by: Owen O'Malley <omalley@apache.org>
@dongjoon-hyun
Copy link
Member Author

Thank you , @pgaref and @omalley !

@dongjoon-hyun dongjoon-hyun deleted the HIVE-25386 branch July 26, 2021 18:02
zchovan pushed a commit to zchovan/hive that referenced this pull request Jul 29, 2021
Fixes apache#2531

Signed-off-by: Owen O'Malley <omalley@apache.org>
dengzhhu653 pushed a commit to dengzhhu653/hive that referenced this pull request Dec 15, 2022
Fixes apache#2531

Signed-off-by: Owen O'Malley <omalley@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants