You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Qiheng He (Jira)" <ji...@apache.org> on 2024/10/05 14:49:00 UTC
[jira] [Created] (HIVE-28559) Unable to start unit tests for `TestRemoteHiveMetastoreWithHttpJwt` and `TestHBaseCliDriver`
Qiheng He created HIVE-28559:
--------------------------------
Summary: Unable to start unit tests for `TestRemoteHiveMetastoreWithHttpJwt` and `TestHBaseCliDriver`
Key: HIVE-28559
URL: https://issues.apache.org/jira/browse/HIVE-28559
Project: Hive
Issue Type: Bug
Security Level: Public (Viewable by anyone)
Reporter: Qiheng He
- Unable to start unit tests for {*}org.apache.hadoop.hive.metastore.TestRemoteHiveMetastoreWithHttpJwt{*}. This finding comes from [https://github.com/apache/hive/pull/5481] and also applies to the master branch.
{code:java}
git clone git@github.com:apache/hive.git
cd ./hive/
git reset --hard ff95fcd1459e375139447063c76f43200f935d38
sdk install java 8.0.422-tem
sdk use java 8.0.422-tem
sdk install maven
mvn clean install -DskipTests
mvn test -Dtest=TestRemoteHiveMetastoreWithHttpJwt
{code}
- The error log is as follows.
{code:bash}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:19 min
[INFO] Finished at: 2024-10-05T22:36:15+08:00
[INFO] ------------------------------------------------------------------------
[INFO] 667 goals, 657 executed, 10 from cache, saving at least 4s
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack (unpack) on project hive-iceberg-handler: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :hive-iceberg-handler
{code}
- *org.apache.hadoop.hive.cli.TestHBaseCliDriver* also fails to run.
{code:java}
git clone git@github.com:apache/hive.git
cd ./hive/
git reset --hard ff95fcd1459e375139447063c76f43200f935d38
sdk install java 8.0.422-tem
sdk use java 8.0.422-tem
sdk install maven
mvn clean install -DskipTests
mvn test -Dtest=TestHBaseCliDriver
{code}
- The error log is as follows.
{code:bash}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:04 min
[INFO] Finished at: 2024-10-05T22:44:00+08:00
[INFO] ------------------------------------------------------------------------
[INFO] 667 goals, 657 executed, 10 from cache, saving at least 4s
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack (unpack) on project hive-iceberg-handler: Artifact has not been packaged yet. When used on reactor artifact, unpack should be executed after packaging: see MDEP-98. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :hive-iceberg-handler
{code}
- I'm not sure what happened to the master branch, it doesn't seem like something documented at [https://cwiki.apache.org/confluence/display/Hive/HowToContribute] . Either Hive's master branch can't be compiled with {*}JDK8{*}, or Hive's master branch can't be compiled with {*}Maven 3.9.9{*}. And Hive hasn't used *Maven Wrapper* to unify the environment for contributors yet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)