hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikael Sitruk (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5148) Compaction property at the server level are not propagated at the table level.
Date Sun, 08 Jan 2012 22:14:39 GMT
Compaction property at the server level are not propagated at the table level.
------------------------------------------------------------------------------

                 Key: HBASE-5148
                 URL: https://issues.apache.org/jira/browse/HBASE-5148
             Project: HBase
          Issue Type: Bug
          Components: master, regionserver
    Affects Versions: 0.90.1
            Reporter: Mikael Sitruk


In case you do not override compaction parameter on the table/cf level, the values returned
by the table descriptor will not reflect the value configured in the cluster.

For example - let assume you disabled major compaction by setting "hbase.hregion.majorcompaction"
in the config to "0", prior starting the cluster. Let also assume that you have a table that
in which you didn't set at all this parameter.
Then invoking 
HTableDescriptor hTableDescriptor = conn.getHTableDescriptor(Bytes.toBytes("my table"));
hTableDescriptor.getValue("hbase.hregion.majorcompaction")
should return the cluster property (currently returns the default, ignoring the cluster prop.)

--
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

        

Mime
View raw message