[
https://issues.apache.org/jira/browse/OOZIE-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14265564#comment-14265564
]
Hadoop QA commented on OOZIE-2104:
----------------------------------
Testing JIRA OOZIE-2104
Cleaning local git workspace
----------------------------
{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
. {color:green}+1{color} the patch does not introduce any @author tags
. {color:green}+1{color} the patch does not introduce any tabs
. {color:green}+1{color} the patch does not introduce any trailing spaces
. {color:green}+1{color} the patch does not introduce any line longer than
132
. {color:green}+1{color} the patch does adds/modifies 9 testcase(s)
{color:green}+1 RAT{color}
. {color:green}+1{color} the patch does not seem to introduce new RAT
warnings
{color:green}+1 JAVADOC{color}
. {color:green}+1{color} the patch does not seem to introduce new Javadoc
warnings
{color:green}+1 COMPILE{color}
. {color:green}+1{color} HEAD compiles
. {color:green}+1{color} patch compiles
. {color:green}+1{color} the patch does not seem to introduce new javac
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
. {color:green}+1{color} the patch does not change any JPA
Entity/Colum/Basic/Lob/Transient annotations
. {color:green}+1{color} the patch does not modify JPA files
{color:red}-1 TESTS{color} - patch does not compile, cannot run testcases
{color:green}+1 DISTRO{color}
. {color:green}+1{color} distro tarball builds with the patch
----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}
The full output of the test-patch run is available at
. https://builds.apache.org/job/oozie-trunk-precommit-build/2168/
> oozie server dies on startup if oozie-site redefines ActionExecutor classes
> ---------------------------------------------------------------------------
>
> Key: OOZIE-2104
> URL: https://issues.apache.org/jira/browse/OOZIE-2104
> Project: Oozie
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Blocker
> Attachments: OOZIE-2104.patch
>
>
> OOZIE-1890 moved everything out of oozie-site; this includes the
> ActionExecutor config properties
> ({{oozie.service.ActionService.executor.classes}} and
> {{oozie.service.ActionService.executor.ext.classes}}).
> Because these were previously defined in ooze-site, if the user re-uses their
> oozie-site after upgrading to an version of Oozie with OOZIE-1890, then Oozie
> will die on startup with:
> {noformat}
> 2014-12-29 20:15:04,077 FATAL Services:514 - SERVER[p0106.sjc.cloudera.com]
> E0150: Actionexecutor type already registered [email]
> org.apache.oozie.service.ServiceException: E0150: Actionexecutor type already
> registered [email]
> at
> org.apache.oozie.service.ActionService.register(ActionService.java:92)
> at
> org.apache.oozie.service.ActionService.registerExecutors(ActionService.java:72)
> at org.apache.oozie.service.ActionService.init(ActionService.java:66)
> at
> org.apache.oozie.service.Services.setServiceInternal(Services.java:386)
> at org.apache.oozie.service.Services.setService(Services.java:372)
> at org.apache.oozie.service.Services.loadServices(Services.java:305)
> at org.apache.oozie.service.Services.init(Services.java:213)
> at
> org.apache.oozie.servlet.ServicesLoader.contextInitialized(ServicesLoader.java:46)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
> ...
> ...
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> 2014-12-29 20:15:04,126 INFO Services:520 - SERVER[p0106.sjc.cloudera.com]
> Shutdown
> {noformat}
> The problem is that Oozie currently doesn't allow an ActionExecutor type to
> be redefined once defined. We should change this so that Oozie uses
> whichever is defined last (doesn't matter if it's redefined as the same or
> different implementation). This will also allow the ext property to override
> the regular property.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)