[ 
https://issues.apache.org/jira/browse/ATLAS-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ramesh Mani updated ATLAS-2525:
-------------------------------
    Description: 
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

HIVE CASE:

 import-hive.sh -f <filename>
{code:java}
import-hive.sh -f <filename>
Imports all databases and tables in the file...
Format:
database1:tbl1
database1:tbl2
database2:tbl1
{code}
HBASE CASE:
{code:java}
import-hbase.sh -f <filename>
namespace1:tbl1
namespace1:tbl2
namespace2:tbl1
 {code}

  was:
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

HIVE CASE:

 import-hive.sh -f <filename>
{code:java}
import-hive.sh -f <filename>
Imports all databases and tables in the file...
Format:
database1:tbl1
database1:tbl2
database2:tbl1
{code}
HBASE CASE:
{code:java}
import-hbase.sh [-t <filename>] 
namespace1:tbl1
namespace1:tbl2
namespace2:tbl1
 {code}


> 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
>    Affects Versions: trunk, 0.8.2
>            Reporter: Ramesh Mani
>            Assignee: Ramesh Mani
>            Priority: Major
>             Fix For: trunk, 0.8.2
>
>
> 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
> HIVE CASE:
>  import-hive.sh -f <filename>
> {code:java}
> import-hive.sh -f <filename>
> Imports all databases and tables in the file...
> Format:
> database1:tbl1
> database1:tbl2
> database2:tbl1
> {code}
> HBASE CASE:
> {code:java}
> import-hbase.sh -f <filename>
> namespace1:tbl1
> namespace1:tbl2
> namespace2:tbl1
>  {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to