Philip Zeyliger has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9808


Change subject: IMPALA-4277: Pin org.glassfish:javax.el version.
......................................................................

IMPALA-4277: Pin org.glassfish:javax.el version.

This pins a version of a transitive dependency that we likely don't even
use. Doing so avoids an issue where Maven tries to talk to all
configured repositories (including those transitively picked up in
artifacts we depend on) to find the "latest" version, which can
lead to errors if those repositories are unavailble. This works
around the following message in particular:

    Failed to execute goal on project impala-frontend: Could not resolve 
dependencies for project org.apache.impala:impala-frontend:jar:0.1-SNAPSHOT: 
Failed to collect dependencies at 
org.apache.sentry:sentry-binding-hive:jar:2.0.0-cdh6.x-SNAPSHOT -> 
org.apache.hive.hcatalog:hive-hcatalog-server-extensions:jar:2.1.1-cdh6.x-SNAPSHOT
 -> org.apache.hive.hcatalog:hive-hcatalog-core:jar:2.1.1-cdh6.x-SNAPSHOT -> 
org.apache.hive:hive-cli:jar:2.1.1-cdh6.x-SNAPSHOT -> 
org.apache.hive:hive-service:jar:2.1.1-cdh6.x-SNAPSHOT -> 
org.apache.hive:hive-llap-server:jar:2.1.1-cdh6.x-SNAPSHOT -> 
org.apache.hbase:hbase-server:jar:2.0.0-cdh6.x-SNAPSHOT -> 
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 ...

The alternative I considered was to blacklist the specific broken
dependency, but I prefer this approach as it's more specific and less
likely to cause trouble, even if left around.

I tested this by running the build.

Change-Id: If744ccca193f96e1998bbcc35403a09e0c83cc74
---
M fe/pom.xml
1 file changed, 17 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/9808/1
--
To view, visit http://gerrit.cloudera.org:8080/9808
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If744ccca193f96e1998bbcc35403a09e0c83cc74
Gerrit-Change-Number: 9808
Gerrit-PatchSet: 1
Gerrit-Owner: Philip Zeyliger <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins

Reply via email to