Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 272ED10466 for ; Mon, 11 Nov 2013 20:25:20 +0000 (UTC) Received: (qmail 80446 invoked by uid 500); 11 Nov 2013 20:25:18 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 80356 invoked by uid 500); 11 Nov 2013 20:25:18 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 80301 invoked by uid 99); 11 Nov 2013 20:25:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Nov 2013 20:25:18 +0000 Date: Mon, 11 Nov 2013 20:25:18 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-9109) Null pointer exception while invoking coprocessor. 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/HBASE-9109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-9109. ----------------------------------- Resolution: Invalid Fix Version/s: (was: 0.98.0) > Null pointer exception while invoking coprocessor. > -------------------------------------------------- > > Key: HBASE-9109 > URL: https://issues.apache.org/jira/browse/HBASE-9109 > Project: HBase > Issue Type: Bug > Components: Client, Coprocessors > Affects Versions: 0.98.0 > Environment: OS - CentOS release 6.2 (Final) > JAVA - java version "1.6.0_22" > OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.41.1.10.4.el6-x86_64) > OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) > Configuration: 3 node cluster with Hadoop-3.0 > Reporter: Mayur > > This problem is observed when region server dies while an endpoint coprocessor is executing. On the client side channel.getLastRegion() returns null and we get null pointer exception while updating result map. > Following stack-trace is seen on client: > Caused by: java.lang.NullPointerException > at org.apache.hadoop.hbase.util.Bytes.compareTo(Bytes.java:981) > at org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:128) > at org.apache.hadoop.hbase.util.Bytes$ByteArrayComparator.compare(Bytes.java:119) > at java.util.TreeMap.put(TreeMap.java:530) > at java.util.Collections$SynchronizedMap.put(Collections.java:1979) > at org.apache.hadoop.hbase.client.HTable$17.update(HTable.java:1372) > at org.apache.hadoop.hbase.client.HTable$18.call(HTable.java:1401) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > 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) -- This message was sent by Atlassian JIRA (v6.1#6144)