Skip to content

[SPARK-7850][BUILD] Hive 0.12.0 profile in POM should be removed - #6393

Closed
piaozhexiu wants to merge 3 commits into
apache:masterfrom
piaozhexiu:SPARK-7850
Closed

piaozhexiu wants to merge 3 commits into
apache:masterfrom
piaozhexiu:SPARK-7850

Conversation

@piaozhexiu

Copy link
Copy Markdown

I grep'ed hive-0.12.0 in the source code and removed all the profiles and doc references.

@srowen

srowen commented May 25, 2015

Copy link
Copy Markdown
Member

ok to test

@srowen

srowen commented May 25, 2015

Copy link
Copy Markdown
Member

I'm OK with that if this is true and the intent, but then do we need hive-0.13.1 anymore either?

@rxin

rxin commented May 25, 2015

Copy link
Copy Markdown
Contributor

I think this is the intent - but I will let @marmbrus confirm.

@witgo

witgo commented May 25, 2015

Copy link
Copy Markdown
Contributor

@SparkQA

SparkQA commented May 25, 2015

Copy link
Copy Markdown

Test build #33461 has finished for PR 6393 at commit d5342cd.

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

@chenghao-intel

Copy link
Copy Markdown
Contributor

We probably also need to get rid of the HiveShim code as well in hive/hive-thriftserver modules.

@piaozhexiu

Copy link
Copy Markdown
Author

@chenghao-intel thank you for pointing it out. I deleted 0.12 shim code.

@SparkQA

SparkQA commented May 26, 2015

Copy link
Copy Markdown

Test build #33491 has finished for PR 6393 at commit 54d8dee.

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

@marmbrus

Copy link
Copy Markdown
Contributor

@srowen, we should get rid of -Phive-0.13.1 too. The build should only ever need to support one version of hive from now on. Another part of this task (would be nice to do now, but does not have to happen in this PR) is to inline the Hive13 shim, so we don't have this extra indirection anymore SPARK-6909.

@piaozhexiu

Copy link
Copy Markdown
Author

@marmbrus thanks for the confirmation. I removed -Phive-0.13.1 now.

Regarding SPARK-6909, can we do it in a separate PR? I'm happy to do it if no one is planning to do it.

@SparkQA

SparkQA commented May 27, 2015

Copy link
Copy Markdown

Test build #33556 timed out for PR 6393 at commit fb429ce after a configured wait of 150m.

@rxin

rxin commented May 27, 2015

Copy link
Copy Markdown
Contributor

Jenkins, retest this please.

@rxin

rxin commented May 27, 2015

Copy link
Copy Markdown
Contributor

@piaozhexiu looks good. I will merge once tests come back positive. It'd be great if you have some cycles to help out with SPARK-6909 to move the Hive 13 stuff into the hive module.

@piaozhexiu

Copy link
Copy Markdown
Author

@rxin thank you! I'll look into SPARK-6909 this week.

@SparkQA

SparkQA commented May 27, 2015

Copy link
Copy Markdown

Test build #33563 has finished for PR 6393 at commit fb429ce.

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

@rxin

rxin commented May 27, 2015

Copy link
Copy Markdown
Contributor

Thanks. I've merged this in master & 1.4.

@asfgit asfgit closed this in 6dd6458 May 27, 2015
asfgit pushed a commit that referenced this pull request May 27, 2015
I grep'ed hive-0.12.0 in the source code and removed all the profiles and doc references.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes #6393 from piaozhexiu/SPARK-7850 and squashes the following commits:

fb429ce [Cheolsoo Park] Remove hive-0.13.1 profile
82bf09a [Cheolsoo Park] Remove hive 0.12.0 shim code
f3722da [Cheolsoo Park] Remove hive-0.12.0 profile and references from POM and build docs

(cherry picked from commit 6dd6458)
Signed-off-by: Reynold Xin <rxin@databricks.com>
asfgit pushed a commit that referenced this pull request Jun 4, 2015
This is a follow-up on #6393. I am removing the following files in this PR.
```
./sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim13.scala
./sql/hive-thriftserver/v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver/Shim13.scala
```
Basically, I re-factored the shim code as follows-
* Rewrote code directly with Hive 0.13 methods, or
* Converted code into private methods, or
* Extracted code into separate classes

But for leftover code that didn't fit in any of these cases, I created a HiveShim object. For eg, helper functions which wrap Hive 0.13 methods to work around Hive bugs are placed here.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes #6604 from piaozhexiu/SPARK-6909 and squashes the following commits:

5dccc20 [Cheolsoo Park] Remove hive shim code
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
I grep'ed hive-0.12.0 in the source code and removed all the profiles and doc references.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes apache#6393 from piaozhexiu/SPARK-7850 and squashes the following commits:

fb429ce [Cheolsoo Park] Remove hive-0.13.1 profile
82bf09a [Cheolsoo Park] Remove hive 0.12.0 shim code
f3722da [Cheolsoo Park] Remove hive-0.12.0 profile and references from POM and build docs
jeanlyn pushed a commit to jeanlyn/spark that referenced this pull request Jun 12, 2015
This is a follow-up on apache#6393. I am removing the following files in this PR.
```
./sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim13.scala
./sql/hive-thriftserver/v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver/Shim13.scala
```
Basically, I re-factored the shim code as follows-
* Rewrote code directly with Hive 0.13 methods, or
* Converted code into private methods, or
* Extracted code into separate classes

But for leftover code that didn't fit in any of these cases, I created a HiveShim object. For eg, helper functions which wrap Hive 0.13 methods to work around Hive bugs are placed here.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes apache#6604 from piaozhexiu/SPARK-6909 and squashes the following commits:

5dccc20 [Cheolsoo Park] Remove hive shim code
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
I grep'ed hive-0.12.0 in the source code and removed all the profiles and doc references.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes apache#6393 from piaozhexiu/SPARK-7850 and squashes the following commits:

fb429ce [Cheolsoo Park] Remove hive-0.13.1 profile
82bf09a [Cheolsoo Park] Remove hive 0.12.0 shim code
f3722da [Cheolsoo Park] Remove hive-0.12.0 profile and references from POM and build docs
nemccarthy pushed a commit to nemccarthy/spark that referenced this pull request Jun 19, 2015
This is a follow-up on apache#6393. I am removing the following files in this PR.
```
./sql/hive/v0.13.1/src/main/scala/org/apache/spark/sql/hive/Shim13.scala
./sql/hive-thriftserver/v0.13.1/src/main/scala/org/apache/spark/sql/hive/thriftserver/Shim13.scala
```
Basically, I re-factored the shim code as follows-
* Rewrote code directly with Hive 0.13 methods, or
* Converted code into private methods, or
* Extracted code into separate classes

But for leftover code that didn't fit in any of these cases, I created a HiveShim object. For eg, helper functions which wrap Hive 0.13 methods to work around Hive bugs are placed here.

Author: Cheolsoo Park <cheolsoop@netflix.com>

Closes apache#6604 from piaozhexiu/SPARK-6909 and squashes the following commits:

5dccc20 [Cheolsoo Park] Remove hive shim code
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.

7 participants