Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3E4018D1F for ; Mon, 17 Aug 2015 20:53:49 +0000 (UTC) Received: (qmail 99679 invoked by uid 500); 17 Aug 2015 20:53:49 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 99635 invoked by uid 500); 17 Aug 2015 20:53:49 -0000 Mailing-List: contact dev-help@falcon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.apache.org Delivered-To: mailing list dev@falcon.apache.org Received: (qmail 99624 invoked by uid 99); 17 Aug 2015 20:53:49 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2015 20:53:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 231D51AA34E for ; Mon, 17 Aug 2015 20:53:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.774 X-Spam-Level: * X-Spam-Status: No, score=1.774 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ECWeEwwnc1tW for ; Mon, 17 Aug 2015 20:53:48 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 877B1428E7 for ; Mon, 17 Aug 2015 20:53:47 +0000 (UTC) Received: (qmail 99413 invoked by uid 99); 17 Aug 2015 20:53:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2015 20:53:47 +0000 Date: Mon, 17 Aug 2015 20:53:46 +0000 (UTC) From: "Ajay Yadava (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FALCON-1331) Update Failed for an entity and further updates are not possible as lock is not released MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FALCON-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14700206#comment-14700206 ] Ajay Yadava commented on FALCON-1331: ------------------------------------- This issue is caused by FALCON-1344 > 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.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)