You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Shwetha G S (JIRA)" <ji...@apache.org> on 2014/08/14 11:36:14 UTC

[jira] [Commented] (OOZIE-1973) ConcurrentModificationException in Sharelib service

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

Shwetha G S commented on OOZIE-1973:
------------------------------------

The issue is in ShareLibService.getSystemLibJars() when ShipLauncher is enabled.             returnList = launcherLibMap.get(actionKey); and then common oozie jars are added to the same list by all threads. At the end, launcherLibMap.get('oozie') will have lots of duplicates


> 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
>
> {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)