[ 
https://issues.apache.org/jira/browse/TEZ-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390745#comment-16390745
 ] 

Harish Jaiprakash commented on TEZ-3901:
----------------------------------------

{code:java}
$ mvn clean install[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for com.sun.jersey:jersey-client:jar 
must be a valid version but is '${jersey.version}'. @ 
org.apache.tez:tez:0.9.2-SNAPSHOT, /Users/harishjp/devel/tez/pom.xml, line 727, 
column 17
[ERROR] 'dependencies.dependency.version' for com.sun.jersey:jersey-json:jar 
must be a valid version but is '${jersey.version}'. @ 
org.apache.tez:tez:0.9.2-SNAPSHOT, /Users/harishjp/devel/tez/pom.xml, line 732, 
column 18
...{code}
 

I compile with java 8, which activates jdk1.8 profile and hadoop27 profile gets 
deactivated, because of how maven handles activateByDefault and hence the 
suggestion to move the property jersey.version to global properties and 
override them for hadoop28. With this patch we cannot build with Java 8 and 
hadoop 2.7.x.

> Add hadoop3 profile for upgrade to Jersey 1.19
> ----------------------------------------------
>
>                 Key: TEZ-3901
>                 URL: https://issues.apache.org/jira/browse/TEZ-3901
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Eric Wohlstadter
>            Assignee: Eric Wohlstadter
>            Priority: Major
>         Attachments: TEZ-3901.1.patch, TEZ-3901.2.patch
>
>
> From [~harishjp]:
> "DAGAppMaster fails to start when using hadoop3 and ATSv15, because 
> TimelineWriter has been changed to use jersey-client 1.19 in hadoop3, but tez 
> packages jersey-client 1.9 with it. There are incompatible changes between 
> them, so we cannot upgrade to 1.19 for all versions, it should be 1.9 in 
> older hadoop and 1.19 in hadoop3."
>  
> This patch includes some copy and paste of the hadoop28 profile to a hadoop3 
> profile. Maven doesn't include anything like "profile inheritance".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to