hive icon indicating copy to clipboard operation
hive copied to clipboard

Upgrade Hadoop to 3.3.4

Open zhangbutao opened this issue 2 years ago • 4 comments

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

zhangbutao avatar Sep 07 '22 09:09 zhangbutao

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar Sep 07 '22 11:09 sonarqubecloud[bot]

the build will pass, I tried till 3.3.3 when trying to upgrade, hive doesn't pose any issues there, but Tez doesn't work with Hive in actual cluster that is why we settled to 3.3.1. You need to upgrade Tez as well to 3.3.4 and then upgrade Hive to that Tez version. Can check more details on the previous 3.3.1 upgrade PR...

@ayushtkn Thanks for the info. Maybe i should test this PR with actual cluster and i will check this. I also foud the Tez ticket about upgrading hadoop to 3.3.3 https://github.com/apache/tez/pull/213. If I understand you correctly, we should deal with both tickets at the same time. As hadoop-3.3.4 is a latest stable version, updating hadoop from 3.3.1 to 3.3.4 is a good choice.

zhangbutao avatar Sep 07 '22 13:09 zhangbutao

Yes. you got me right, we should do both the tickets

ayushtkn avatar Sep 07 '22 13:09 ayushtkn

hs2_start_warn

Tested this Pr with Hadoop3.3.4 & Tez0.10.2, and HS2 started failed with above WARN. This is because Tez0.10.2 added related hadoop3.3.1 jars(e.g. hadoop-hdfs-client-3.3.1.jar) to binary package and this caused some conflict in hive's classpath.

If i change the hadoop version to 3.3.4 in Tez0.10.2, hs2 will run successfully. :)

zhangbutao avatar Sep 08 '22 06:09 zhangbutao

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.

github-actions[bot] avatar Nov 08 '22 00:11 github-actions[bot]