[ 
https://issues.apache.org/jira/browse/HIVE-28552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888955#comment-17888955
 ] 

Qiheng He commented on HIVE-28552:
----------------------------------

- According to https://issues.apache.org/jira/browse/HIVE-28559, this unit test 
can be executed with the following command.


{code:bash}
git clone g...@github.com:apache/hive.git
cd ./hive/
git reset --hard a64a4f64532403cce9fec89d6a0ff0db0a655918
sdk install java 8.0.422-tem
sdk install maven
cd ./hive/
sdk use java 8.0.422-tem

mvn clean install -DskipTests -Pitests
mvn test -Dtest=TestHttpJwtAuthentication -Dtest.output.overwrite=true -pl 
itests/hive-unit -Pitests
{code}

- This issue can be closed. To be honest, I don't know how to close a JIRA 
issue like GitHub.

> 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
>            Priority: Major
>
> - 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 g...@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=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