You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2018/02/16 13:34:02 UTC

[jira] [Updated] (ATLAS-2452) HBase Atlas Hook : isReadOnly hbase_table parameter is always false

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

Sharmadha Sainath updated ATLAS-2452:
-------------------------------------
    Attachment: ATLAS-2452.patch

> HBase Atlas Hook : isReadOnly hbase_table parameter is always false
> -------------------------------------------------------------------
>
>                 Key: ATLAS-2452
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2452
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-intg
>            Reporter: Sharmadha Sainath
>            Priority: Major
>         Attachments: ATLAS-2452.patch
>
>
> isReadOnly hbase_table attribute is always set as -1 because of :
> table.setAttribute(ATTR_TABLE_ISREADONLY, htableDescriptor.getMaxFileSize()); (https://github.com/apache/atlas/blob/master/addons/hbase-bridge/src/main/java/org/apache/atlas/hbase/bridge/HBaseAtlasHook.java#L453)
> Change needed to use htableDescriptor.isReadOnly() instead of htableDescriptor.getMaxFileSize().
> CC : [~rmani]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)