You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Zhang Jingpeng (JIRA)" <ji...@apache.org> on 2014/04/09 12:54:14 UTC

[jira] [Created] (HBASE-10946) hbase.metrics.showTableName cause run “hbase xxx.Hfile” report Inconsistent configuration

Zhang Jingpeng created HBASE-10946:
--------------------------------------

             Summary: hbase.metrics.showTableName  cause run “hbase xxx.Hfile”  report Inconsistent configuration
                 Key: HBASE-10946
                 URL: https://issues.apache.org/jira/browse/HBASE-10946
             Project: HBase
          Issue Type: Bug
          Components: HFile
    Affects Versions: 0.94.17
         Environment:  hadoop 1.2.1  hbase0.94.17
            Reporter: Zhang Jingpeng
            Priority: Minor


when i run hbase org.apache.hadoop.hbase.io.hfile.Hfile ,print the error info
"ERROR metrics.SchemaMetrics: Inconsistent configuration. Previous configuration for using table name in metrics: true, new configuration: false"
I find the report section in Hfile -->setUseTableName method
and to be called by next
 final boolean useTableNameNew =
          conf.getBoolean(SHOW_TABLE_NAME_CONF_KEY, false);
      setUseTableName(useTableNameNew);
but  the hbase-default.xml is <name>hbase.metrics.showTableName</name>
    <value>true</value>



--
This message was sent by Atlassian JIRA
(v6.2#6252)