Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10946

hbase.metrics.showTableName cause run “hbase xxx.Hfile” report Inconsistent configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 0.94.17
    • None
    • HFile
    • None
    • hadoop 1.2.1 hbase0.94.17

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            smartzjp Smart Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: