You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2016/11/16 21:14:58 UTC

[jira] [Resolved] (HBASE-5148) Compaction property at the server level are not propagated at the table level.

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

stack resolved HBASE-5148.
--------------------------
    Resolution: Invalid

Resolving as per [~anoop.hbase] "I think this is not a valid bug and can be closed."

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)