Alessandro Solimando created HIVE-26812: -------------------------------------------
Summary: hive-it-util module misses a dependency on hive-jdbc Key: HIVE-26812 URL: https://issues.apache.org/jira/browse/HIVE-26812 Project: Hive Issue Type: Bug Components: Tests Affects Versions: 4.0.0-alpha-2 Reporter: Alessandro Solimando Assignee: Alessandro Solimando Building from $hive/itests fails as follows: {noformat} [INFO] Hive Integration - Testing Utilities ............... FAILURE [ 6.492 s] ... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 56.499 s [INFO] Finished at: 2022-12-06T19:24:16+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project hive-it-util: Compilation failure [ERROR] /Users/asolimando/git/hive/itests/util/src/main/java/org/apache/hive/jdbc/miniHS2/MiniHS2.java:[51,28] cannot find symbol [ERROR] symbol: class Utils [ERROR] location: package org.apache.hive.jdbc [ERROR] [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :hive-it-util{noformat} Surprisingly, building from the top directory with -Pitests does not fail. There is a missing dependency on the hive-jdbc module, when adding that, the error gets fixed. -- This message was sent by Atlassian Jira (v8.20.10#820010)