[
https://issues.apache.org/jira/browse/HIVE-29441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18070561#comment-18070561
]
Thomas Rebele commented on HIVE-29441:
--------------------------------------
I think the PR is not redundant.
I hit the problem again. I've got the following error for the command {{mvn
clean install -DskipTests -Pitests -Denforcer.skip=true -T 1C}}
{code:java}
[ERROR] Failed to execute goal on project hive-hbase-handler: Could not collect
dependencies for project org.apache.hive:hive-hbase-handler:jar:4.3.0-SNAPSHOT
[ERROR] Failed to read artifact descriptor for
org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT
[ERROR] Caused by: The following artifacts could not be resolved:
org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT (absent): 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):
(certificate_expired) PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed
[ERROR] Failed to read artifact descriptor for
org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT
[ERROR] Caused by: The following artifacts could not be resolved:
org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT (absent): Could not transfer
artifact org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT from/to
jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots):
(certificate_expired) PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed
[ERROR] Failed to read artifact descriptor for
org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT
[ERROR] Caused by: The following artifacts could not be resolved:
org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT (absent): Could not transfer
artifact org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT from/to
jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots):
(certificate_expired) PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed
[ERROR] Failed to read artifact descriptor for
org.glassfish:javax.el:jar:3.0.1-b11-SNAPSHOT
[ERROR] Caused by: The following artifacts could not be resolved:
org.glassfish:javax.el:pom:3.0.1-b11-SNAPSHOT (absent): Could not transfer
artifact org.glassfish:javax.el:pom:3.0.1-b11-SNAPSHOT from/to
jvnet-nexus-snapshots (https://maven.java.net/content/repositories/snapshots):
(certificate_expired) PKIX path validation failed:
java.security.cert.CertPathValidatorException: validity check failed
{code}
If it helps, here the output of {{{}mvn --offline dependency:tree -pl
hbase-handler -DincludeClassifiers=tests -Dclassifier=tests -Dverbose{}}},
directly after the build has failed: [^mvn-dep-tree-hbase-handler.txt]. The
"org.glassfish.web:javax.servlet.jsp" does not appear in the tree either.
However, there are warnings at the top:
{code:java}
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing,
no dependency information available
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT is missing,
no dependency information available
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT is missing,
no dependency information available
[WARNING] The POM for org.glassfish:javax.el:jar:3.0.1-b11-SNAPSHOT is missing,
no dependency information available{code}
I've applied the patch from the
[PR|https://github.com/apache/hive/pull/6297/changes], and the build passed
successfully. Then I've reverted the changes to the pom.xml file, and the error
appeared again. As this seems to re-occur after a while, I would appreciate if
the PR gets accepted.
I didn't touch ~/.m2/repository this time, so I can dig deeper if necessary.
> Avoid resolving dependency org.glassfish:javax.el by excluding
> org.glassfish.web:javax.servlet.jsp from hbase-testing-util
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-29441
> URL: https://issues.apache.org/jira/browse/HIVE-29441
> Project: Hive
> Issue Type: Task
> Reporter: Thomas Rebele
> Assignee: Thomas Rebele
> Priority: Major
> Labels: pull-request-available
> Attachments: mvn-dep-tree-hbase-handler.txt
>
>
> The build fails on my machine:
> {code:java}
> $ mvn clean install -pl hbase-handler -DskipTests -Pitests
> -Denforcer.skip=true
> [INFO] Scanning for projects...
> [INFO]
> [INFO] -----------------< org.apache.hive:hive-hbase-handler
> >-----------------
> [INFO] Building Hive HBase Handler 4.3.0-SNAPSHOT
> [INFO] from pom.xml
> [INFO] --------------------------------[ jar
> ]---------------------------------
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b06-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> [WARNING] org.glassfish:javax.el:3.0.1-b06-SNAPSHOT/maven-metadata.xml failed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> 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-b06-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b06-SNAPSHOT/javax.el-3.0.1-b06-SNAPSHOT.pom
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> [WARNING] org.glassfish:javax.el:3.0.1-b07-SNAPSHOT/maven-metadata.xml failed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> 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-b07-SNAPSHOT/maven-metadata.xml from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b07-SNAPSHOT/javax.el-3.0.1-b07-SNAPSHOT.pom
> Downloading from jvnet-nexus-snapshots:
> https://maven.java.net/content/repositories/snapshots/org/glassfish/javax.el/3.0.1-b08-SNAPSHOT/maven-metadata.xml
> [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): status code: 402,
> reason phrase: Payment Required (402)
> [WARNING] org.glassfish:javax.el:3.0.1-b08-SNAPSHOT/maven-metadata.xml failed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> 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): status code: 402,
> reason phrase: Payment Required (402)
> Downloading from jvnet-nexus-snapshots:
> 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 from jvnet-nexus-snapshots:
> 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): status code: 402,
> reason phrase: Payment Required (402)
> [WARNING] org.glassfish:javax.el:3.0.1-b11-SNAPSHOT/maven-metadata.xml failed
> to transfer from https://maven.java.net/content/repositories/snapshots during
> a previous attempt. This failure was cached in the local repository and
> 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): status code: 402,
> reason phrase: Payment Required (402)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.727 s
> [INFO] Finished at: 2026-02-04T15:09:20+01:00
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 0 goals, 0 executed
> [ERROR] Failed to execute goal on project hive-hbase-handler: Could not
> collect dependencies for project
> org.apache.hive:hive-hbase-handler:jar:4.3.0-SNAPSHOT
> [ERROR] Failed to read artifact descriptor for
> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT
> [ERROR] Caused by: The following artifacts could not be resolved:
> org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT (absent): 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): status code: 402,
> reason phrase: Payment Required (402)
> [ERROR] Failed to read artifact descriptor for
> org.glassfish:javax.el:jar:3.0.1-b07-SNAPSHOT
> [ERROR] Caused by: The following artifacts could not be resolved:
> org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT (absent): Could not transfer
> artifact org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> [ERROR] Failed to read artifact descriptor for
> org.glassfish:javax.el:jar:3.0.1-b08-SNAPSHOT
> [ERROR] Caused by: The following artifacts could not be resolved:
> org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT (absent): Could not transfer
> artifact org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT from/to
> jvnet-nexus-snapshots
> (https://maven.java.net/content/repositories/snapshots): status code: 402,
> reason phrase: Payment Required (402)
> [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/DependencyResolutionException
> {code}
> The dependency chain can be analyzed with {{{}mvn -X{}}}:
> {code:java}
> $ mvn -X clean install -pl hbase-handler -DskipTests -Pitests
> -Denforcer.skip=true | grep "Failed to collect dependencies at"
> [ERROR] : Failed to collect dependencies at
> org.apache.hbase:hbase-testing-util:jar:tests:2.5.6-hadoop3 ->
> org.apache.hbase:hbase-server:jar:tests:2.5.6-hadoop3 ->
> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 ->
> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT
> Caused by: org.eclipse.aether.collection.DependencyCollectionException:
> Failed to collect dependencies at
> org.apache.hbase:hbase-testing-util:jar:tests:2.5.6-hadoop3 ->
> org.apache.hbase:hbase-server:jar:tests:2.5.6-hadoop3 ->
> org.glassfish.web:javax.servlet.jsp:jar:2.3.2 ->
> org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)