-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-27749][SQL] hadoop-3.2 support hive-thriftserver #24628
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #105462 has finished for PR 24628 at commit
|
|
Test build #105512 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #105514 has finished for PR 24628 at commit
|
|
@wangyum . I reopened https://issues.apache.org/jira/browse/SPARK-27402 . Please make an independent follow-up PR using ID |
|
Test build #105538 has finished for PR 24628 at commit
|
|
Test build #105653 has finished for PR 24628 at commit
|
sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/CliSuite.scala
Outdated
Show resolved
Hide resolved
...ftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
Outdated
Show resolved
Hide resolved
...ftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
Outdated
Show resolved
Hide resolved
...ftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
Outdated
Show resolved
Hide resolved
|
So, the files under |
|
Test build #105656 has finished for PR 24628 at commit
|
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace 2.3.4 to 2.3.5 to pass the UTs. Thanks.
cc @gatorsmile since this is a massive change.
|
Test build #105707 has finished for PR 24628 at commit
|
|
@wangyum . Just to be clear, did you regenerate Thrift related code always for Spark?
I assumed that this generated code came from Hive 3.5.3, but the generated code is not the same with Hive 3.5.3. Please describe how you get this code in the PR description. cc @gatorsmile |
|
Yes @dongjoon-hyun I did some changes to workaround |
|
Thank you for the confirmation and the pointers! |
|
Test build #105777 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #105778 has finished for PR 24628 at commit
|
|
For readability, would it make sens to split this PR into 2: one to move change the v2.3.4 code to v2.3.5, and the other to start using it? |
|
Test build #105893 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #105895 has finished for PR 24628 at commit
|
|
LGTM, though I would do the change of actually upgrading v2.3.4 to v2.3.5 in a separate PR |
|
retest this please |
|
@juliuszsompolski Actually, there does not exist code changes in this component from Hive 2.3.4 to 2.3.5. :-) See the change history. https://github.com/apache/hive/commits/branch-2.3 |
|
LGTM I will merge the code when the tests pass. |
|
After the tests pass, we also need to remove [test-hadoop3.2] tag and then retrigger the test again. |
|
Test build #106176 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #106182 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #106187 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #106191 has finished for PR 24628 at commit
|
|
retest this please |
|
Test build #106192 has finished for PR 24628 at commit
|
|
Test build #106193 has finished for PR 24628 at commit
|
|
All tests passed: |
|
Thanks! Merged to master. |
## What changes were proposed in this pull request? This PR mainly makes the following changes to make `hadoop-3.2` support `sql/hive-thriftserver`: 1. Upgrade [`TCLIService.thrift`](https://github.com/apache/hive/blob/rel/release-2.3.5/service-rpc/if/TCLIService.thrift) and related code to Hive 2.3.5 because of [HIVE-12442](https://issues.apache.org/jira/browse/HIVE-12442)(Note that we only migrate code without adding features, such as [HIVE-4924](https://issues.apache.org/jira/browse/HIVE-4924) and [HIVE-15473](https://issues.apache.org/jira/browse/HIVE-15473)). 2. Use slf4j as logging facade because of [HIVE-12237](https://issues.apache.org/jira/browse/HIVE-12237). 3. Port [HIVE-13169](https://issues.apache.org/jira/browse/HIVE-13169) to compatible with Hive 2.3. ## How was this patch tested? Exiting test Closes apache#24628 from wangyum/SPARK-27749. Authored-by: Yuming Wang <[email protected]> Signed-off-by: gatorsmile <[email protected]>
### What changes were proposed in this pull request? This PR change the Github Actions build command from `mvn package` to `mvn install` to build Scaladoc jars. ### Why are the changes needed? Sometimes `mvn install` build failure with error: `not found: type ClassName...`. More details: #24628 (comment) ### Does this PR introduce any user-facing change? No. ### How was this patch tested? N/A Closes #26414 from wangyum/github-action-install. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR change the Github Actions build command from `mvn package` to `mvn install` to build Scaladoc jars. Sometimes `mvn install` build failure with error: `not found: type ClassName...`. More details: #24628 (comment) No. N/A Closes #26414 from wangyum/github-action-install. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit e5c176a) Signed-off-by: Dongjoon Hyun <[email protected]>
This PR change the Github Actions build command from `mvn package` to `mvn install` to build Scaladoc jars. Sometimes `mvn install` build failure with error: `not found: type ClassName...`. More details: apache#24628 (comment) No. N/A Closes apache#26414 from wangyum/github-action-install. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]> (cherry picked from commit e5c176a) Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR mainly makes the following changes to make
hadoop-3.2supportsql/hive-thriftserver:TCLIService.thriftand related code to Hive 2.3.5 because of HIVE-12442(Note that we only migrate code without adding features, such as HIVE-4924 and HIVE-15473).How was this patch tested?
Exiting test