Commit e6625a6c by rmani Committed by Sarath Subramanian

ATLAS-2559: HBase Atlas Hook doesn't create relationship between namespace and tables

parent db6d783a
......@@ -6,7 +6,7 @@
{
"name": "hbase_namespace",
"superTypes": [
"DataSet"
"Asset"
],
"typeVersion": "1.0",
"attributeDefs": [
......@@ -52,6 +52,14 @@
"typeVersion": "1.1",
"attributeDefs": [
{
"name": "namespace",
"typeName": "hbase_namespace",
"cardinality": "SINGLE",
"isIndexable": false,
"isOptional": true,
"isUnique": false
},
{
"name": "uri",
"typeName": "string",
"cardinality": "SINGLE",
......@@ -140,6 +148,25 @@
],
"relationshipDefs": [
{
"name": "hbase_namespace_tables",
"typeVersion": "1.0",
"relationshipCategory": "COMPOSITION",
"endDef1": {
"type": "hbase_namespace",
"name": "tables",
"isContainer": true,
"cardinality": "SET"
},
"endDef2": {
"type": "hbase_table",
"name": "namespace",
"isContainer": false,
"cardinality": "SINGLE",
"isLegacyAttribute": true
},
"propagateTags": "NONE"
},
{
"name": "hbase_table_column_families",
"typeVersion": "1.0",
"relationshipCategory": "COMPOSITION",
......
......@@ -8,14 +8,6 @@
"params": null,
"attributeDefs": [
{
"name": "namespace",
"typeName": "hbase_namespace",
"cardinality": "SINGLE",
"isIndexable": false,
"isOptional": true,
"isUnique": false
},
{
"name": "parameters",
"typeName": "map<string,string>",
"cardinality": "SINGLE",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment