atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharmadha Sainath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-2452) HBase Atlas Hook : isReadOnly hbase_table parameter is always false
Date Fri, 16 Feb 2018 13:32:00 GMT
Sharmadha Sainath created ATLAS-2452:
----------------------------------------

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


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)

Mime
View raw message