You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2022/09/03 01:04:19 UTC
[GitHub] [bigtop] timyuer opened a new pull request, #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Ha…
timyuer opened a new pull request, #1001:
URL: https://github.com/apache/bigtop/pull/1001
…doop3.3.x when kerberos enabled
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'BIGTOP-3638: Your PR title ...'.
-->
### Description of PR
### How was this patch tested?
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
- [ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] guyuqi commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
guyuqi commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1246480269
Merged. Thanks, @timyuer @iwasakims
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
iwasakims commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1237272848
While I see NoSuchMethodError only in test classes (TestSlotZnode and TestZookeeperLockManager), it should be addressed as part of [HIVE-26513](https://issues.apache.org/jira/browse/HIVE-26513). We can see if no defect by running tests again after it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] timyuer commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
timyuer commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1236458488
Update as iwasakims comment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] timyuer commented on a diff in pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
timyuer commented on code in PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#discussion_r962390756
##########
bigtop-packages/src/common/hive/patch12-HIVE-26513-metastore-compatible-hadoop334.diff:
##########
@@ -0,0 +1,13 @@
+diff --git a/pom.xml b/pom.xml
+index cb54806ef5cad6650837e2370207d7272f133c76..6f39c28a601a461fcce937f3c782c44c8e4fc4ba 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -209,7 +209,7 @@
+ <zookeeper.version>3.4.6</zookeeper.version>
+ <jpam.version>1.1</jpam.version>
+ <felix.version>2.4.0</felix.version>
+- <curator.version>2.12.0</curator.version>
++ <curator.version>4.2.0</curator.version>
Review Comment:
I will do it. Thanks. @iwasakims
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on a diff in pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
iwasakims commented on code in PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#discussion_r962263581
##########
bigtop-packages/src/common/hive/patch12-HIVE-26513-metastore-compatible-hadoop334.diff:
##########
@@ -0,0 +1,13 @@
+diff --git a/pom.xml b/pom.xml
+index cb54806ef5cad6650837e2370207d7272f133c76..6f39c28a601a461fcce937f3c782c44c8e4fc4ba 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -209,7 +209,7 @@
+ <zookeeper.version>3.4.6</zookeeper.version>
+ <jpam.version>1.1</jpam.version>
+ <felix.version>2.4.0</felix.version>
+- <curator.version>2.12.0</curator.version>
++ <curator.version>4.2.0</curator.version>
Review Comment:
We are [specifying properties in do-component-build script](https://github.com/apache/bigtop/blob/f92933b35e33db9759dc057058a82d9084fe5e85/bigtop-packages/src/common/hive/do-component-build#L22-L29) to adjust versions of products. If just changing the `curator.version` works, updating the do-component-build should be consistent. @timyuer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
iwasakims commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1237243175
Hmm. I ran unit tests of Hive with `-Dcurator.version=4.2.0`. Test failures caused by curator version mismatch are observed. Just setting the `curator.verion` seems not to work.
```
$ mvn -Dcurator.version=4.2.0 -Dhbase.version=2.4.13 -Dzookeeper.version=3.5.9 -Dhadoop.version=3.3.4 -Dtez.version=0.10.1 -Dspark.version=3.2.1 -Dscala.binary.version=2.12 -Dscala.version=2.12.13 -Dguava.version=27.0-jre -Dmaven.test.failure.ignore test
```
```
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.121 s <<< FAILURE! - in org.apache.hadoop.hive.ql.lockmgr.zookeeper.TestZookeeperLockManager
[ERROR] testDeleteNoChildren(org.apache.hadoop.hive.ql.lockmgr.zookeeper.TestZookeeperLockManager) Time elapsed: 1.431 s <<< ERROR!
java.lang.NoSuchMethodError: org.apache.curator.framework.api.CreateBuilder.creatingParentsIfNeeded()Lorg/apache/curator/framework/api/ProtectACLCreateModePathAndBytesable;
at org.apache.hadoop.hive.ql.lockmgr.zookeeper.TestZookeeperLockManager.testDeleteNoChildren(TestZookeeperLockManager.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] timyuer commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
timyuer commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1238782440
>While I see NoSuchMethodError only in test classes (TestSlotZnode and TestZookeeperLockManager), it should be addressed as part of [HIVE-26513](https://issues.apache.org/jira/browse/HIVE-26513). We can see if no defect by running tests again after it.
The Hive community says it will not be fixed to be compatible with the Hadoop3.3.x, if using the Hadoop3.3.x, they recommend upgrading the Hive to the master branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
iwasakims commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1238888202
Then we should backport [HIVE-22205](https://issues.apache.org/jira/browse/HIVE-22205) to Hive 3.1.3 as done for existing patch*.diff. We can not upgrade Hive before Hive 4.0.0 is released. @timyuer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] iwasakims commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
iwasakims commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1238932255
> Then we should backport [HIVE-22205](https://issues.apache.org/jira/browse/HIVE-22205) to Hive 3.1.3 as done for existing patch*.diff.
I summitted https://github.com/apache/bigtop/pull/1003 doing this. @timyuer.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] guyuqi commented on pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
guyuqi commented on PR #1001:
URL: https://github.com/apache/bigtop/pull/1001#issuecomment-1246477736
Tested this PR with https://github.com/apache/bigtop/pull/1003.
.```
/docker-hadoop.sh --create 3 \
--image bigtop/puppet:trunk-centos-7 \
--memory 8g \
--repo file:///bigtop-home/output \
--disable-gpg-check \
--stack hdfs,yarn,mapreduce,hbase,tez,hive \
--smoke-tests hive
```
```
Gradle Test Executor 2 started executing tests.
Gradle Test Executor 2 finished executing tests.
> Task :bigtop-tests:smoke-tests:hive:test
Finished generating test XML results (0.014 secs) into: /bigtop-home/bigtop-tests/smoke-tests/hive/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.031 secs) into: /bigtop-home/bigtop-tests/smoke-tests/hive/build/reports/tests/test
Now testing...
:bigtop-tests:smoke-tests:hive:test (Thread[Execution worker for ':' Thread 6,5,main]) completed. Took 23.513 secs.
BUILD SUCCESSFUL in 4m 4s
30 actionable tasks: 7 executed, 23 up-to-date
Stopped 1 worker daemon(s).
+ rm -rf buildSrc/build/test-results/binary
+ rm -rf /bigtop-home/.gradle
```
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] guyuqi merged pull request #1001: BIGTOP-3803: Fix Hive3.1.3 Metastore service compatible issue with Hadoop3.3.x when kerberos enabled
Posted by GitBox <gi...@apache.org>.
guyuqi merged PR #1001:
URL: https://github.com/apache/bigtop/pull/1001
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org