[ https://issues.apache.org/jira/browse/OOZIE-1973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111037#comment-14111037 ]
Purshotam Shah commented on OOZIE-1973: --------------------------------------- {quote} I guess only scenario this could happens is when ShareLibService is initializing and updating launcherLibMap and JavaActionExecutor is iterating over launcherLibMap. This will happens because CallableQueueService }} is initialized before {{ShareLibService. We should the fix the order of initialization. {quote} This can be fixed as part of https://issues.apache.org/jira/browse/OOZIE-1932 > ConcurrentModificationException in Sharelib service > --------------------------------------------------- > > Key: OOZIE-1973 > URL: https://issues.apache.org/jira/browse/OOZIE-1973 > Project: Oozie > Issue Type: Bug > Reporter: Shwetha G S > Fix For: 4.1.0 > > > {quote} > 2014-08-14 07:45:37,227 WARN pool-2-thread-57 ActionStartXCommand - SERVER[] > USER[] GROUP[-] TOKEN[] APP[] JOB[0000850-140814062742075-oozie-oozi-W] > ACTION[0000850-140814062742075-oozie-oozi-W@action] Error starting > action [enhance]. ErrorType [ERROR], ErrorCode > [ConcurrentModificationException], Message [ConcurrentModificationException: > null] > org.apache.oozie.action.ActionExecutorException: > ConcurrentModificationException: null > at > org.apache.oozie.action.ActionExecutor.convertException(ActionExecutor.java:401) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:930) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.start(JavaActionExecutor.java:1085) > at > org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:228) > at > org.apache.oozie.command.wf.ActionStartXCommand.execute(ActionStartXCommand.java:63) > at org.apache.oozie.command.XCommand.call(XCommand.java:283) > at > org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:323) > at > org.apache.oozie.service.CallableQueueService$CompositeCallable.call(CallableQueueService.java:252) > at > org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:174) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.util.ConcurrentModificationException > at > java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) > at java.util.AbstractList$Itr.next(AbstractList.java:343) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.addSystemShareLibForAction(JavaActionExecutor.java:559) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:650) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.setLibFilesArchives(JavaActionExecutor.java:641) > at > org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:835) > {quote} -- This message was sent by Atlassian JIRA (v6.2#6252)