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)

Reply via email to