Skip to content

Conversation

@wangyum
Copy link
Member

@wangyum wangyum commented May 16, 2019

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 and 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).
  2. Use slf4j as logging facade because of HIVE-12237.
  3. Port HIVE-13169 to compatible with Hive 2.3.

How was this patch tested?

Exiting test

@wangyum wangyum changed the title [WIP][SPARK-27749][SQL] Fix hive-thriftserver module in hadoop-3.2 test issue [WIP][SPARK-27749][SQL][test-hadoop3.2] Fix hive-thriftserver module in hadoop-3.2 test issue May 16, 2019
@SparkQA
Copy link

SparkQA commented May 16, 2019

Test build #105462 has finished for PR 24628 at commit 89b6e00.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum wangyum changed the title [WIP][SPARK-27749][SQL][test-hadoop3.2] Fix hive-thriftserver module in hadoop-3.2 test issue [SPARK-27749][SQL][test-hadoop3.2][test-maven] hadoop-3.2 support hive-thriftserver May 18, 2019
@SparkQA
Copy link

SparkQA commented May 18, 2019

Test build #105512 has finished for PR 24628 at commit ddb0d69.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented May 18, 2019

retest this please

@SparkQA
Copy link

SparkQA commented May 18, 2019

Test build #105514 has finished for PR 24628 at commit ddb0d69.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

@wangyum . I reopened https://issues.apache.org/jira/browse/SPARK-27402 . Please make an independent follow-up PR using ID SPARK-27402. That will give us traceability.

@SparkQA
Copy link

SparkQA commented May 20, 2019

Test build #105538 has finished for PR 24628 at commit a7bc4e8.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum wangyum changed the title [SPARK-27749][SQL][test-hadoop3.2][test-maven] hadoop-3.2 support hive-thriftserver [SPARK-27749][SQL][test-hadoop3.2] hadoop-3.2 support hive-thriftserver May 22, 2019
@SparkQA
Copy link

SparkQA commented May 22, 2019

Test build #105653 has finished for PR 24628 at commit c9a003f.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

So, the files under v2.3.5 are from Hive 2.3.5, not Hive 2.3.4, right?

@SparkQA
Copy link

SparkQA commented May 22, 2019

Test build #105656 has finished for PR 24628 at commit 38ae34e.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a 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.

@SparkQA
Copy link

SparkQA commented May 23, 2019

Test build #105707 has finished for PR 24628 at commit a0e52aa.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented May 24, 2019

@wangyum . Just to be clear, did you regenerate Thrift related code always for Spark?

(Note that we only migrate code without adding features, such as HIVE-4924 and HIVE-15473).

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

@wangyum
Copy link
Member Author

wangyum commented May 24, 2019

Yes @dongjoon-hyun I did some changes to workaround mvn install build failure with error: not found: type AsyncFrameBuffer....
Maybe @srowen knows the reason. He also changed these files in #23069.

@dongjoon-hyun
Copy link
Member

Thank you for the confirmation and the pointers!

@SparkQA
Copy link

SparkQA commented May 25, 2019

Test build #105777 has finished for PR 24628 at commit b38c906.

  • This patch fails SparkR unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented May 25, 2019

retest this please

@SparkQA
Copy link

SparkQA commented May 25, 2019

Test build #105778 has finished for PR 24628 at commit b38c906.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@juliuszsompolski
Copy link
Contributor

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?

@SparkQA
Copy link

SparkQA commented May 29, 2019

Test build #105893 has finished for PR 24628 at commit cee5636.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented May 29, 2019

retest this please

@SparkQA
Copy link

SparkQA commented May 29, 2019

Test build #105895 has finished for PR 24628 at commit cee5636.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@juliuszsompolski
Copy link
Contributor

LGTM, though I would do the change of actually upgrading v2.3.4 to v2.3.5 in a separate PR
cc @gatorsmile

@gatorsmile
Copy link
Member

retest this please

@gatorsmile
Copy link
Member

@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

@gatorsmile
Copy link
Member

LGTM

I will merge the code when the tests pass.

@gatorsmile
Copy link
Member

After the tests pass, we also need to remove [test-hadoop3.2] tag and then retrigger the test again.

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106176 has finished for PR 24628 at commit cee5636.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Jun 5, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106182 has finished for PR 24628 at commit cee5636.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum wangyum changed the title [SPARK-27749][SQL][test-hadoop3.2] hadoop-3.2 support hive-thriftserver [SPARK-27749][SQL] hadoop-3.2 support hive-thriftserver Jun 5, 2019
@wangyum
Copy link
Member Author

wangyum commented Jun 5, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106187 has finished for PR 24628 at commit cee5636.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Jun 5, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106191 has finished for PR 24628 at commit cee5636.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Jun 5, 2019

retest this please

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106192 has finished for PR 24628 at commit cee5636.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jun 5, 2019

Test build #106193 has finished for PR 24628 at commit cee5636.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@wangyum
Copy link
Member Author

wangyum commented Jun 5, 2019

All tests passed:
hadoop-3.2: #24628 (comment)
hadoop-2.7: #24628 (comment)

@gatorsmile
Copy link
Member

Thanks! Merged to master.

@gatorsmile gatorsmile closed this in 3f102a8 Jun 5, 2019
emanuelebardelli pushed a commit to emanuelebardelli/spark that referenced this pull request Jun 15, 2019
## 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]>
dongjoon-hyun pushed a commit that referenced this pull request Nov 6, 2019
### 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]>
dongjoon-hyun pushed a commit that referenced this pull request Nov 6, 2019
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]>
scunniff pushed a commit to scunniff/nomad-spark that referenced this pull request Nov 10, 2020
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants