Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 38863 invoked from network); 13 Dec 2010 21:04:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 21:04:23 -0000 Received: (qmail 64580 invoked by uid 500); 13 Dec 2010 21:04:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 64562 invoked by uid 500); 13 Dec 2010 21:04:23 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 64554 invoked by uid 99); 13 Dec 2010 21:04:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 21:04:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 21:04:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBDL42qr004759 for ; Mon, 13 Dec 2010 21:04:03 GMT Message-ID: <4766584.99911292274242792.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 16:04:02 -0500 (EST) From: "stack (JIRA)" To: issues@hbase.apache.org Subject: [jira] Created: (HBASE-3347) Can't truncate/disable table that has rows in .META. that have empty info:regioninfo column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Can't truncate/disable table that has rows in .META. that have empty info:regioninfo column ------------------------------------------------------------------------------------------- Key: HBASE-3347 URL: https://issues.apache.org/jira/browse/HBASE-3347 Project: HBase Issue Type: Bug Reporter: stack Fix For: 0.90.0 I somehow manufactured empty info:regioninfo cells in .META. -- still trying to figure how -- but trying to drop the table I get NPE {code} ERROR: java.lang.NullPointerException: null Backtrace: org/apache/hadoop/hbase/util/Writables.java:75:in `getWritable' org/apache/hadoop/hbase/util/Writables.java:119:in `getHRegionInfo' org/apache/hadoop/hbase/client/HConnectionManager.java:505:in `processRow' org/apache/hadoop/hbase/client/MetaScanner.java:190:in `metaScan' org/apache/hadoop/hbase/client/MetaScanner.java:95:in `metaScan' org/apache/hadoop/hbase/client/MetaScanner.java:73:in `metaScan' org/apache/hadoop/hbase/client/HConnectionManager.java:530:in `getHTableDescriptor' org/apache/hadoop/hbase/client/HTable.java:320:in `getTableDescriptor' /home/stack/hbase/bin/../bin/../src/main/ruby/hbase/admin.rb:205:in `truncate' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands/truncate.rb:33:in `command' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:64:in `format_simple_command' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands/truncate.rb:31:in `command' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:31:in `command_safe' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:70:in `translate_hbase_exceptions' /home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:31:in `command_safe' /home/stack/hbase/bin/../bin/../src/main/ruby/shell.rb:106:in `command' (eval):2:in `truncate' (hbase):4:in `irb_binding' {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.