Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBD2596F2 for ; Fri, 10 Feb 2012 00:58:23 +0000 (UTC) Received: (qmail 64699 invoked by uid 500); 10 Feb 2012 00:58:23 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 64636 invoked by uid 500); 10 Feb 2012 00:58:22 -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 64628 invoked by uid 99); 10 Feb 2012 00:58:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 00:58:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 00:58:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5647B1ADCEA for ; Fri, 10 Feb 2012 00:57:59 +0000 (UTC) Date: Fri, 10 Feb 2012 00:57:59 +0000 (UTC) From: "Zhihong Yu (Created) (JIRA)" To: issues@hbase.apache.org Message-ID: <631478958.22420.1328835479354.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HBASE-5374) useTableNameGlobally is not initialized for ReaderV2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org useTableNameGlobally is not initialized for ReaderV2 ---------------------------------------------------- Key: HBASE-5374 URL: https://issues.apache.org/jira/browse/HBASE-5374 Project: HBase Issue Type: Bug Reporter: Zhihong Yu SchemaMetrics.useTableNameGlobally is a Boolean object that is not initialized. It depends on public static method configureGlobally() to initialize it based on the configuration file. But this is only done for writer, not for reader. So when invoking hfile tool, {code} hbase/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f YourFile {code} where HFileReaderV2 is invoked, it throws exception complaining the flag is null. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira