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

        

Reply via email to