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

Abhishek Bafna edited comment on OOZIE-2778 at 2/7/17 4:57 PM:
---------------------------------------------------------------

Hi [~asasvari], I think the exclusion is at wrong place. I am attaching a 
mvn:dependency output for the server module, please have a look. This is after 
the recent patch.

The exclusion needs to be in {{hadoop-common}} dependency. Thanks.


was (Author: abhishekbafna):
+1.

> Copy only jetty.version related server dependencies to distro 
> --------------------------------------------------------------
>
>                 Key: OOZIE-2778
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2778
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Attila Sasvari
>            Assignee: Attila Sasvari
>         Attachments: OOZIE-2778-01.patch, OOZIE-2778-05.patch, 
> OOZIE-2778-06.patch, OOZIE-2778-2.patch, OOZIE-2778-3.patch, 
> OOZIE-2778-4.patch, OOZIE-2778-5.patch
>
>
> To compile JSP, org.eclipse.jdt.core is used (see 
> http://www.eclipse.org/jetty/documentation/9.2.20.v20161216/configuring-jsp.html#compiling-jsps).
> However, additional currently jasper libraries are copied to 
> embedded-oozie-server/dependency/ in the distro directory. It can cause 
> problems (e.g. NoSuchMethodException at runtime) if classes are loaded from 
> that jars. 
> Furthermore, transitive dependencies can pull in old jetty libraries (such as 
> jetty-util 6) that can cause runtime issues (at server startup).
> We can make sure with the maven assembly plugin that only jetty.version 
> related dependencies are copied to distro.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to