You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ramesh Mani (JIRA)" <ji...@apache.org> on 2018/03/30 01:25:00 UTC
[jira] [Created] (ATLAS-2525) Atlas Hbase/Hive hook improvement to
provide import from file
Ramesh Mani created ATLAS-2525:
----------------------------------
Summary: Atlas Hbase/Hive hook improvement to provide import from file
Key: ATLAS-2525
URL: https://issues.apache.org/jira/browse/ATLAS-2525
Project: Atlas
Issue Type: Bug
Reporter: Ramesh Mani
Atlas Hbase/Hive hook improvement to provide import from file
Hook script should have another option -f to accept a file which contains the database/table in hive or namespace/table in hbase and import it into Atlas
Format can be JSON or CSV.
HIVE CASE:
import-hive.sh -f <filename>: This can be JSON or CSV file
Imports all databases and tables in the file...
cvs format:
namespace1,tbl1,tbl2,tbl3,..
namespace2,tbl1,tbl2,tbl3,..
JSON format:
{
"namespace1" :["tbl1","tbl2","tbl3",..]
"namespace2" :["tbl1","tbl2","tbl3",..]
}
HBASE CASE:
{code:java}
Usage 2: import-hbase.sh [-t <filename>] : This can be JSON or CSV file
cvs format:
namespace1,tbl1,tbl2,tbl3,..
namespace2,tbl1,tbl2,tbl3,..
JSON format:
{
"namespace1" :["tbl1","tbl2","tbl3",..]
"namespace2" :["tbl1","tbl2","tbl3",..]
}
{code:java}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)