Qiheng He created HIVE-28552:
--------------------------------

             Summary: Unable to start unit tests for 
`org.apache.hive.service.auth.jwt.TestHttpJwtAuthentication`
                 Key: HIVE-28552
                 URL: https://issues.apache.org/jira/browse/HIVE-28552
             Project: Hive
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
            Reporter: Qiheng He


- Unable to start unit tests for 
{*}org.apache.hive.service.auth.jwt.TestHttpJwtAuthentication{*}. This finding 
comes from [https://github.com/apache/hive/pull/5481] and also applies to the 
master branch.

{code:java}
git clone [email protected]: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=TestHttpJwtAuthentication
{code}
- The error log is as follows.
{code:bash}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  02:11 min
[INFO] Finished at: 2024-10-04T12:28:18+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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to