apache / carbondata

High performance data store solution
carbondata.apache.org
Apache License 2.0
1.43k stars 704 forks source link

Compile issue with spark2.3 #4299

Closed xubo245 closed 1 year ago

xubo245 commented 1 year ago

I want to compile CarbonData with the document: https://github.com/apache/carbondata/tree/master/build.

mvn command: clean -B -Pspark-2.3 -Pbuild-with-format -DskipTests install

but it failed:

[WARNING] Could not transfer metadata org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Failure to transfer org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from https://maven.java.net/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of jvnet-nexus-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Downloading: https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/javax.el-3.0.1-b08-SNAPSHOT.pom
Downloading: https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b11-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[WARNING] Failure to transfer org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from https://maven.java.net/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of jvnet-nexus-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CarbonData :: Parent ........................ SUCCESS [  3.005 s]
[INFO] Apache CarbonData :: Common ........................ SUCCESS [ 12.142 s]
[INFO] Apache CarbonData :: Format ........................ SUCCESS [ 21.524 s]
[INFO] Apache CarbonData :: Core .......................... SUCCESS [ 55.579 s]
[INFO] Apache CarbonData :: Processing .................... SUCCESS [ 21.825 s]
[INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [ 13.909 s]
[INFO] Apache CarbonData :: Materialized View Plan ........ SUCCESS [01:07 min]
[INFO] Apache CarbonData :: Hive .......................... FAILURE [ 18.494 s]
[INFO] Apache CarbonData :: SDK ........................... SKIPPED
[INFO] Apache CarbonData :: CLI ........................... SKIPPED
[INFO] Apache CarbonData :: Lucene Index .................. SKIPPED
[INFO] Apache CarbonData :: Bloom Index ................... SKIPPED
[INFO] Apache CarbonData :: Geo ........................... SKIPPED
[INFO] Apache CarbonData :: Streaming ..................... SKIPPED
[INFO] Apache CarbonData :: Spark ......................... SKIPPED
[INFO] Apache CarbonData :: Secondary Index ............... SKIPPED
[INFO] Apache CarbonData :: Index Examples ................ SKIPPED
[INFO] Apache CarbonData :: Flink Proxy ................... SKIPPED
[INFO] Apache CarbonData :: Flink ......................... SKIPPED
[INFO] Apache CarbonData :: Flink Build ................... SKIPPED
[INFO] Apache CarbonData :: Presto ........................ SKIPPED
[INFO] Apache CarbonData :: Examples ...................... SKIPPED
[INFO] Apache CarbonData :: Flink Examples ................ SKIPPED
[INFO] Apache CarbonData :: Assembly ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:34 min
[INFO] Finished at: 2023-04-09T00:12:51+08:00
[INFO] Final Memory: 99M/867M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project carbondata-hive: Could not resolve dependencies for project org.apache.carbondata:carbondata-hive:jar:2.3.1-SNAPSHOT: Failed to collect dependencies at org.apache.hive:hive-jdbc:jar:3.1.0 -> org.apache.hive:hive-service:jar:3.1.0 -> org.apache.hive:hive-llap-server:jar:3.1.0 -> org.apache.hbase:hbase-server:jar:2.0.0-alpha4 -> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 -> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Failed to read artifact descriptor for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT: Could not transfer artifact org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT from/to jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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: