Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.0-alpha-2
Description
Building from $hive/itests fails as follows:
[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
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.
Attachments
Issue Links
- is caused by
-
HIVE-25750 Beeline: Creating a standalone tarball by isolating dependencies
- Closed
-
HIVE-26818 Beeline module misses transitive dependencies due to shading
- Closed
- links to