You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Zhihong Yu (Updated) (JIRA)" <ji...@apache.org> on 2012/02/10 02:02:00 UTC

[jira] [Updated] (HBASE-5374) useTableNameGlobally is not initialized for ReaderV2

     [ https://issues.apache.org/jira/browse/HBASE-5374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhihong Yu updated HBASE-5374:
------------------------------

    Affects Version/s: 0.94.0
    
> useTableNameGlobally is not initialized for ReaderV2
> ----------------------------------------------------
>
>                 Key: HBASE-5374
>                 URL: https://issues.apache.org/jira/browse/HBASE-5374
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0
>            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