Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D5B0200D04 for ; Mon, 11 Sep 2017 20:20:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7BE7C1609C7; Mon, 11 Sep 2017 18:20:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C47E1609B7 for ; Mon, 11 Sep 2017 20:20:12 +0200 (CEST) Received: (qmail 2774 invoked by uid 500); 11 Sep 2017 18:20:10 -0000 Mailing-List: contact dev-help@tephra.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tephra.incubator.apache.org Delivered-To: mailing list dev@tephra.incubator.apache.org Received: (qmail 2759 invoked by uid 99); 11 Sep 2017 18:20:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2017 18:20:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 16F19DB440 for ; Mon, 11 Sep 2017 18:20:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oTQDC7o3_m9x for ; Mon, 11 Sep 2017 18:20:09 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0B34460E17 for ; Mon, 11 Sep 2017 18:20:09 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 560E5E010F for ; Mon, 11 Sep 2017 18:20:08 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A184A2416E for ; Mon, 11 Sep 2017 18:20:07 +0000 (UTC) Date: Mon, 11 Sep 2017 18:20:07 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@tephra.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEPHRA-239) Null pointer exception in TransactionStateCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 11 Sep 2017 18:20:13 -0000 [ https://issues.apache.org/jira/browse/TEPHRA-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161716#comment-16161716 ] ASF GitHub Bot commented on TEPHRA-239: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/incubator-tephra/pull/46 > Null pointer exception in TransactionStateCache > ----------------------------------------------- > > Key: TEPHRA-239 > URL: https://issues.apache.org/jira/browse/TEPHRA-239 > Project: Tephra > Issue Type: Bug > Reporter: Samarth Jain > Assignee: Gokul Gunasekaran > Fix For: 0.13.0-incubating > > > In our Phoenix test runs we have seen the following NPE in TransactionStateCache. > {code} > 2017-07-19 18:57:56,136 INFO [tx-state-refresh] org.apache.tephra.coprocessor.TransactionStateCache$1(144): Exiting thread tx-state-refresh > 2017-07-19 18:57:56,138 ERROR [TransactionStateCache STOPPING] org.apache.zookeeper.server.NIOServerCnxnFactory$1(44): Thread Thread[TransactionStateCache STOPPING,5,main] died > java.lang.NullPointerException > at org.apache.tephra.coprocessor.TransactionStateCache.shutDown(TransactionStateCache.java:85) > at com.google.common.util.concurrent.AbstractIdleService$1$2.run(AbstractIdleService.java:57) > at java.lang.Thread.run(Thread.java:745) > 2017-07-19 18:57:56,138 WARN [RS_CLOSE_REGION-pietas:52618-2] org.apache.tephra.coprocessor.ReferenceCountedSupplier(89): Exception while trying to stop Service TransactionStateCache. > com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException > at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1015) > at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1001) > at com.google.common.util.concurrent.AbstractService.stopAndWait(AbstractService.java:225) > at com.google.common.util.concurrent.AbstractIdleService.stopAndWait(AbstractIdleService.java:122) > at org.apache.tephra.coprocessor.ReferenceCountedSupplier.release(ReferenceCountedSupplier.java:86) > at org.apache.tephra.coprocessor.TransactionStateCacheSupplier.release(TransactionStateCacheSupplier.java:61) > at org.apache.tephra.hbase.coprocessor.TransactionProcessor.stop(TransactionProcessor.java:182) > at org.apache.phoenix.coprocessor.DelegateRegionObserver.stop(DelegateRegionObserver.java:82) > at org.apache.hadoop.hbase.coprocessor.CoprocessorHost$Environment.shutdown(CoprocessorHost.java:433) > at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionEnvironment.shutdown(RegionCoprocessorHost.java:152) > at org.apache.hadoop.hbase.coprocessor.CoprocessorHost.shutdown(CoprocessorHost.java:274) > at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$5.postEnvCall(RegionCoprocessorHost.java:512) > at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1761) > at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postClose(RegionCoprocessorHost.java:505) > at org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:1542) > at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:1381) > at org.apache.hadoop.hbase.regionserver.handler.CloseRegionHandler.process(CloseRegionHandler.java:138) > at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:129) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.tephra.coprocessor.TransactionStateCache.shutDown(TransactionStateCache.java:85) > at com.google.common.util.concurrent.AbstractIdleService$1$2.run(AbstractIdleService.java:57) > ... 1 more > 2017-07-19 18:57:56,139 DEBUG [RS_CLOSE_REGION-pietas:52618-2] org.apache.hadoop.hbase.coprocessor.CoprocessorHost(272): Stop coprocessor org.apache.phoenix.coprocessor.ServerCachingEndpointImpl > 2017-07-19 18:57:56,139 DEBUG [RS_CLOSE_REGION-pietas:52618-2] org.apache.hadoop.hbase.coprocessor.CoprocessorHost(272): Stop coprocessor org.apache.phoenix.coprocessor.GroupedAggregateRegionObserver > 2017-07-19 18: > {code} > Test run: https://builds.apache.org/job/Phoenix-master/1699/testReport/junit/org.apache.phoenix.end2end/ViewIT/testNonSaltedUpdatableViewWithIndex_transactional___false_/ -- This message was sent by Atlassian JIRA (v6.4.14#64029)