Skip to content

Conversation

@linghengqian
Copy link
Owner

@linghengqian linghengqian commented Jul 26, 2025

Copy link
Owner Author

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Interesting error log. Why org.apache.hadoop:hadoop-annotations:jar:2.6.0 and org.javassist:javassist:jar:3.18.1-GA?
[INFO] [graalvm reachability metadata repository for com.zaxxer:HikariCP:4.0.3]: Configuration directory is com.zaxxer\HikariCP\5.0.1
[WARNING] 1 problem was encountered while building the effective model for org.apache.hadoop:hadoop-annotations:jar:2.6.0 during dependency collection step for  (use -X to see details)
[WARNING] 1 problem was encountered while building the effective model for org.javassist:javassist:jar:3.18.1-GA during dependency collection step for  (use -X to see details)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:45 min (Wall Clock)
[INFO] Finished at: 2025-07-26T23:12:14+08:00
[INFO] ------------------------------------------------------------------------

Copy link
Owner Author

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • OMG, it’s tools.jar???
[WARNING] 1 problem was encountered while building the effective model for org.apache.hadoop:hadoop-annotations:jar:2.6.0 during dependency collection step for . Path to offending node from root:
 -> null
 -> org.apache.hive:hive-common:jar:4.0.1 (runtime)
 -> org.apache.hive:hive-standalone-metastore-common:jar:4.0.1 (compile)
 -> com.github.joshelser:dropwizard-metrics-hadoop-metrics2-reporter:jar:0.1.2 (compile)
 -> org.apache.hadoop:hadoop-common:jar:2.6.0 (compile)
 => org.apache.hadoop:hadoop-annotations:jar:2.6.0 (compile)
Problem
* 'dependencies.dependency.systemPath' for jdk.tools:jdk.tools:jar refers to a non-existing file C:\Users\lingh\.version-fox\temp\1753459200-15544\java\..\lib\tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ org.apache.hadoop:hadoop-annotations:2.6.0

[WARNING] 1 problem was encountered while building the effective model for org.javassist:javassist:jar:3.18.1-GA during dependency collection step for . Path to offending node from root:
 -> null
 -> org.apache.hive:hive-service:jar:4.0.1 (runtime)
 -> org.pac4j:pac4j-saml-opensamlv3:jar:4.5.5 (compile)
 -> org.opensaml:opensaml-storage-impl:jar:3.4.5 (compile)
 -> org.hibernate:hibernate-entitymanager:jar:4.3.5.Final (compile)
 -> org.hibernate:hibernate-core:jar:4.3.5.Final (compile)
 => org.javassist:javassist:jar:3.18.1-GA (compile)
Problem
* 'dependencies.dependency.systemPath' for com.sun:tools:jar refers to a non-existing file C:\Users\lingh\.version-fox\temp\1753459200-15544\java\..\lib\tools.jar. Please verify that you run Maven using a JDK and not just a JRE. @ org.javassist:javassist:3.18.1-GA

Copy link
Owner Author

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error:  Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.11.0:test (test-native) on project hive-server2-jdbc-driver-uber: Execution test-native of goal org.graalvm.buildtools:native-maven-plugin:0.11.0:test failed: version can neither be null, empty nor blank -> [Help 1]
Error:  Failed to execute goal org.graalvm.buildtools:native-maven-plugin:0.11.0:test (test-native) on project hive-server2-jdbc-driver-thin: Execution test-native of goal org.graalvm.buildtools:native-maven-plugin:0.11.0:test failed: version can neither be null, empty nor blank -> [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/PluginExecutionException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :hive-server2-jdbc-driver-uber
Error: Process completed with exit code 1.

@github-actions
Copy link

github-actions bot commented Jul 31, 2025

GraalVM Native Image Build Report

native-tests generated in 5m 19s as part of the 'native-test-ci' job in run #229.

Environment

Java version 22.0.2+9 Vendor version GraalVM CE 22.0.2+9.1
Graal compiler optimization level: b, target machine: x86-64-v3
C compiler gcc (linux, x86_64, 13.3.0)
Garbage collector Serial GC

Analysis Results

Category Types in % Fields in % Methods in %
Reachable 18,484 87.440% 31,435 62.964% 88,617 58.351%
Reflection 6,259 29.609% 1,720 3.445% 6,348 4.180%
JNI 98 0.464% 100 0.200% 104 0.068%
Loaded 21,139 100.000% 49,925 100.000% 151,870 100.000%

Image Details

Category Size in % Details
Code area 41.64MB 48.280% 54,496 compilation units
Image heap 41.06MB 47.614% 420,266 objects, 1.37MB for 184 resources
Other data 3.54MB 4.106%
Total 86.24MB 100.000%

Resource Usage

Garbage collection 39.31s (12.320% of total time) in 1012 GCs
Peak RSS 3.73GB (23.861% of 15.62GB system memory)
CPU load 2.012 (50.312% of 4 CPU cores)

Report generated by setup-graalvm.

@linghengqian linghengqian merged commit 9eeae30 into master Aug 1, 2025
12 checks passed
@linghengqian linghengqian deleted the nbt branch August 1, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants