[ https://issues.apache.org/jira/browse/ATLAS-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367305#comment-16367305 ]
Sharmadha Sainath commented on ATLAS-2452: ------------------------------------------ Review request : https://reviews.apache.org/r/65684/ > 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)