falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1331) Update Failed for an entity and further updates are not possible as lock is not released
Date Fri, 18 Sep 2015 12:38:04 GMT

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

Ajay Yadava commented on FALCON-1331:
-------------------------------------

+1. Will commit shortly.

> Update Failed for an entity and further updates are not possible as lock is not released
> ----------------------------------------------------------------------------------------
>
>                 Key: FALCON-1331
>                 URL: https://issues.apache.org/jira/browse/FALCON-1331
>             Project: Falcon
>          Issue Type: Bug
>    Affects Versions: 0.7
>            Reporter: pavan kumar kolamuri
>            Assignee: pavan kumar kolamuri
>         Attachments: FALCON-1331-v1.patch, FALCON-1331.patch
>
>
> When a user is trying to update a process update failed saying null pointer exception
and further updates are not possible since lock was not released for that entity 
> {noformat}
>  2015-07-27 12:34:04,517 INFO  - [545071120@qtp-1994317148-335 - d63ba45b-a498-4fd5-973e-7e2bce3353df:platform:POST//sync/update/process/user-process]
~ Lock obtained for schedule/update of (
> process) user-process by 545071120@qtp-1994317148-335 - d63ba45b-a498-4fd5-973e-7e2bce3353df
(MemoryLocks:54)
> 2015-07-27 12:34:04,517 INFO  - [545071120@qtp-1994317148-335 - d63ba45b-a498-4fd5-973e-7e2bce3353df:platform:POST//sync/update/process/user-process]
~ Lock obtained for schedule/update of (
> feed) user-feed by 545071120@qtp-1994317148-335 - d63ba45b-a498-4fd5-973e-7e2bce3353df
(MemoryLocks:54)
> 2015-07-27 12:34:04,517 ERROR - [545071120@qtp-1994317148-335 - d63ba45b-a498-4fd5-973e-7e2bce3353df:platform:POST//sync/update/process/user-process]
~ Update failed (AbstractEntityManager:3
> 07)
> java.lang.NullPointerException
>         at org.apache.falcon.entity.lock.MemoryLocks.getLockKey(MemoryLocks.java:75)
>         at org.apache.falcon.entity.lock.MemoryLocks.acquireLock(MemoryLocks.java:50)
>         at org.apache.falcon.resource.AbstractEntityManager.obtainUpdateEntityLocks(AbstractEntityManager.java:329)
>         at org.apache.falcon.resource.AbstractEntityManager.update(AbstractEntityManager.java:285)
>         at org.apache.falcon.resource.ConfigSyncService.update(ConfigSyncService.java:68)
>         at sun.reflect.GeneratedMethodAccessor321.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>         at org.apache.falcon.security.ClientCertificateFilter.doFilter(ClientCertificateFilter.java:67)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message