Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
e6625a6c
Commit
e6625a6c
authored
Apr 24, 2018
by
rmani
Committed by
Sarath Subramanian
Apr 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-2559: HBase Atlas Hook doesn't create relationship between namespace and tables
Signed-off-by:
Sarath Subramanian
<
ssubramanian@hortonworks.com
>
parent
db6d783a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
10 deletions
+30
-10
1060-hbase_model.json
addons/models/1000-Hadoop/1060-hbase_model.json
+30
-2
004-hbase_table_column_family_add_attribute.json
.../patches/004-hbase_table_column_family_add_attribute.json
+0
-8
No files found.
addons/models/1000-Hadoop/1060-hbase_model.json
View file @
e6625a6c
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
{
{
"name"
:
"hbase_namespace"
,
"name"
:
"hbase_namespace"
,
"superTypes"
:
[
"superTypes"
:
[
"
DataS
et"
"
Ass
et"
],
],
"typeVersion"
:
"1.0"
,
"typeVersion"
:
"1.0"
,
"attributeDefs"
:
[
"attributeDefs"
:
[
...
@@ -52,6 +52,14 @@
...
@@ -52,6 +52,14 @@
"typeVersion"
:
"1.1"
,
"typeVersion"
:
"1.1"
,
"attributeDefs"
:
[
"attributeDefs"
:
[
{
{
"name"
:
"namespace"
,
"typeName"
:
"hbase_namespace"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"uri"
,
"name"
:
"uri"
,
"typeName"
:
"string"
,
"typeName"
:
"string"
,
"cardinality"
:
"SINGLE"
,
"cardinality"
:
"SINGLE"
,
...
@@ -140,6 +148,25 @@
...
@@ -140,6 +148,25 @@
],
],
"relationshipDefs"
:
[
"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"
,
"name"
:
"hbase_table_column_families"
,
"typeVersion"
:
"1.0"
,
"typeVersion"
:
"1.0"
,
"relationshipCategory"
:
"COMPOSITION"
,
"relationshipCategory"
:
"COMPOSITION"
,
...
@@ -180,4 +207,4 @@
...
@@ -180,4 +207,4 @@
"propagateTags"
:
"NONE"
"propagateTags"
:
"NONE"
}
}
]
]
}
}
\ No newline at end of file
addons/models/1000-Hadoop/patches/004-hbase_table_column_family_add_attribute.json
View file @
e6625a6c
...
@@ -8,14 +8,6 @@
...
@@ -8,14 +8,6 @@
"params"
:
null
,
"params"
:
null
,
"attributeDefs"
:
[
"attributeDefs"
:
[
{
{
"name"
:
"namespace"
,
"typeName"
:
"hbase_namespace"
,
"cardinality"
:
"SINGLE"
,
"isIndexable"
:
false
,
"isOptional"
:
true
,
"isUnique"
:
false
},
{
"name"
:
"parameters"
,
"name"
:
"parameters"
,
"typeName"
:
"map<string,string>"
,
"typeName"
:
"map<string,string>"
,
"cardinality"
:
"SINGLE"
,
"cardinality"
:
"SINGLE"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment