Stamatis Zampetakis created HIVE-24809:
------------------------------------------

             Summary: Build failure in metastore-tools-common while resolving 
javax.el dependency
                 Key: HIVE-24809
                 URL: https://issues.apache.org/jira/browse/HIVE-24809
             Project: Hive
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: Stamatis Zampetakis
            Assignee: Stamatis Zampetakis
             Fix For: 4.0.0


The Hive build (mvn clean install -DskipTests) fails while trying to resolve a 
transitive dependency to org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT. 

{noformat}
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive Storage API 2.7.3-SNAPSHOT .................... SUCCESS [  2.906 s]
[INFO] Hive 4.0.0-SNAPSHOT ................................ SUCCESS [  1.086 s]
[INFO] Hive Classifications 4.0.0-SNAPSHOT ................ SUCCESS [  0.182 s]
[INFO] Hive Shims Common 4.0.0-SNAPSHOT ................... SUCCESS [  1.121 s]
[INFO] Hive Shims 0.23 4.0.0-SNAPSHOT ..................... SUCCESS [  1.670 s]
[INFO] Hive Shims Scheduler 4.0.0-SNAPSHOT ................ SUCCESS [  0.832 s]
[INFO] Hive Shims 4.0.0-SNAPSHOT .......................... SUCCESS [  0.576 s]
[INFO] Hive Standalone Metastore 4.0.0-SNAPSHOT ........... SUCCESS [  1.134 s]
[INFO] Hive Standalone Metastore Common Code 4.0.0-SNAPSHOT SUCCESS [  9.868 s]
[INFO] Hive Common 4.0.0-SNAPSHOT ......................... SUCCESS [  2.969 s]
[INFO] Hive Service RPC 4.0.0-SNAPSHOT .................... SUCCESS [  1.206 s]
[INFO] Hive Serde 4.0.0-SNAPSHOT .......................... SUCCESS [  3.132 s]
[INFO] Hive Metastore 4.0.0-SNAPSHOT ...................... SUCCESS [  1.351 s]
[INFO] Hive Vector-Code-Gen Utilities 4.0.0-SNAPSHOT ...... SUCCESS [  0.164 s]
[INFO] Hive Parser 4.0.0-SNAPSHOT ......................... SUCCESS [  5.819 s]
[INFO] Hive UDF 4.0.0-SNAPSHOT ............................ SUCCESS [  0.955 s]
[INFO] Hive Llap Common 4.0.0-SNAPSHOT .................... SUCCESS [  2.381 s]
[INFO] Hive Llap Client 4.0.0-SNAPSHOT .................... SUCCESS [  1.734 s]
[INFO] Hive Llap Tez 4.0.0-SNAPSHOT ....................... SUCCESS [  1.765 s]
[INFO] Hive Spark Remote Client 4.0.0-SNAPSHOT ............ SUCCESS [  2.134 s]
[INFO] Hive Metastore Server 4.0.0-SNAPSHOT ............... SUCCESS [  9.440 s]
[INFO] Hive Query Language 4.0.0-SNAPSHOT ................. SUCCESS [ 34.747 s]
[INFO] Hive TestUtils 4.0.0-SNAPSHOT ...................... SUCCESS [  0.294 s]
[INFO] Hive Llap Server 4.0.0-SNAPSHOT .................... SUCCESS [  8.443 s]
[INFO] Hive HPL/SQL 4.0.0-SNAPSHOT ........................ SUCCESS [  4.635 s]
[INFO] Hive Service 4.0.0-SNAPSHOT ........................ SUCCESS [  4.901 s]
[INFO] Hive Accumulo Handler 4.0.0-SNAPSHOT ............... SUCCESS [  3.679 s]
[INFO] Hive JDBC 4.0.0-SNAPSHOT ........................... SUCCESS [ 12.405 s]
[INFO] Hive Beeline 4.0.0-SNAPSHOT ........................ SUCCESS [  3.108 s]
[INFO] Hive CLI 4.0.0-SNAPSHOT ............................ SUCCESS [  2.544 s]
[INFO] Hive Contrib 4.0.0-SNAPSHOT ........................ SUCCESS [  1.625 s]
[INFO] Hive Druid Handler 4.0.0-SNAPSHOT .................. SUCCESS [ 14.406 s]
[INFO] Hive HBase Handler 4.0.0-SNAPSHOT .................. SUCCESS [  3.308 s]
[INFO] Hive JDBC Handler 4.0.0-SNAPSHOT ................... SUCCESS [  1.938 s]
[INFO] Hive HCatalog 4.0.0-SNAPSHOT ....................... SUCCESS [  0.385 s]
[INFO] Hive HCatalog Core 4.0.0-SNAPSHOT .................. SUCCESS [  3.754 s]
[INFO] Hive HCatalog Pig Adapter 4.0.0-SNAPSHOT ........... SUCCESS [  2.907 s]
[INFO] Hive HCatalog Server Extensions 4.0.0-SNAPSHOT ..... SUCCESS [  2.595 s]
[INFO] Hive HCatalog Webhcat Java Client 4.0.0-SNAPSHOT ... SUCCESS [  2.947 s]
[INFO] Hive HCatalog Webhcat 4.0.0-SNAPSHOT ............... SUCCESS [  6.764 s]
[INFO] Hive Streaming 4.0.0-SNAPSHOT ...................... SUCCESS [  3.268 s]
[INFO] Hive Llap External Client 4.0.0-SNAPSHOT ........... SUCCESS [  2.512 s]
[INFO] Hive Shims Aggregator 4.0.0-SNAPSHOT ............... SUCCESS [  0.061 s]
[INFO] Hive Kryo Registrator 4.0.0-SNAPSHOT ............... SUCCESS [  2.050 s]
[INFO] Hive Kudu Handler 4.0.0-SNAPSHOT ................... SUCCESS [  4.839 s]
[INFO] Hive Kafka Storage Handler 4.0.0-SNAPSHOT .......... SUCCESS [  3.706 s]
[INFO] Hive Packaging 4.0.0-SNAPSHOT ...................... SUCCESS [  2.587 s]
[INFO] Hive Metastore Tools 4.0.0-SNAPSHOT ................ SUCCESS [  0.008 s]
[INFO] Hive Metastore Tools common libraries 4.0.0-SNAPSHOT FAILURE [  1.897 s]
[INFO] Hive metastore benchmarks 4.0.0-SNAPSHOT ........... SKIPPED
[INFO] Hive Upgrade Acid 4.0.0-SNAPSHOT ................... SKIPPED
[INFO] Hive Pre Upgrade Acid 4.0.0-SNAPSHOT ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:09 min
[INFO] Finished at: 2021-02-22T15:58:27+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project metastore-tools-common: Could not 
resolve dependencies for project 
org.apache.hive:metastore-tools-common:jar:4.0.0-SNAPSHOT: Failed to collect 
dependencies at 
org.apache.hive.hcatalog:hive-hcatalog-server-extensions:jar:4.0.0-SNAPSHOT -> 
org.apache.hive.hcatalog:hive-hcatalog-core:jar:4.0.0-SNAPSHOT -> 
org.apache.hive:hive-cli:jar:4.0.0-SNAPSHOT -> 
org.apache.hive:hive-service:jar:4.0.0-SNAPSHOT -> 
org.apache.hive:hive-llap-server:jar:4.0.0-SNAPSHOT -> 
org.apache.hbase:hbase-mapreduce:jar:2.0.0-alpha4 -> 
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): 
Transfer failed for 
https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom:
 PKIX path validation failed: java.security.cert.CertPathValidatorException: 
validity check failed: NotAfter: Fri Feb 19 13:00:00 CET 2021 -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :metastore-tools-common
{noformat}

The error occurs only when there are multiple repositories in the local maven 
settings file (~/.m2/settings.xml).




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to