Abhishek Pal created ATLAS-4745:
-----------------------------------

             Summary: [hbase-bridge] HBase namespace updates don't reflect in 
Atlas
                 Key: ATLAS-4745
                 URL: https://issues.apache.org/jira/browse/ATLAS-4745
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
            Reporter: Abhishek Pal


Currently HBase Namespace doesn't have any default properties apart from the 
name. But adding new properties doesn't get reflected in Atlas audits, neither 
does it get reflected in the properties.

Sample HBase commands used:
{panel}create_namespace 'sample_ns'{panel}
This reflects in Atlas as the entity gets created, and it has ENTITY_CREATED 
audit.

Now if we modify the namespace:
{code}
alter_namespace 'sample_ns', {METHOD=> 'set', 'random_key' => 'random_value'}
{code}
When we describe this namespace:
{code}
describe_namespace 'sample_ns'

DESCRIPTION
{NAME => 'test_2_namespace', random_key => 'random_value'}
{code}
It is expected that the update should show up as an audit at-least to inform of 
this change, and if possible display the updated property in the entity as well.


We already do have checks for this I think in 
hbase-bridge/bridge/HBaseAtlasHook.java:
*private void createOrUpdateNamespaceInstance()*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to