[
https://issues.apache.org/jira/browse/ATLAS-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16393873#comment-16393873
]
Ramesh Mani edited comment on ATLAS-2475 at 3/10/18 2:11 AM:
-------------------------------------------------------------
[~nixonrodrigues] This fix is not needed for this version of hbase this is not
applicable. It is better to revert this fix as this caused issue in import when
"default:" was there in the table. Could you please reopen this one, I shall
provide a patch or you can undo the commit?
was (Author: rmani):
[~nixonrodrigues] This fix is note need here as for this version of hbase this
is not applicable. It is better revert this fix as this caused issue in import
when "default:" was there in the table. Could you please reopen this one, I
shall provide a patch or you can undo the commit?
> HBase Atlas import utility : importing using -t default:table fails when
> namespace is default
> ---------------------------------------------------------------------------------------------
>
> Key: ATLAS-2475
> URL: https://issues.apache.org/jira/browse/ATLAS-2475
> Project: Atlas
> Issue Type: Bug
> Components: atlas-intg
> Affects Versions: 1.0.0
> Reporter: Sharmadha Sainath
> Assignee: Ramesh Mani
> Priority: Major
> Fix For: 1.0.0
>
> Attachments:
> 0001-ATLAS-2475-HBase-Atlas-import-utility-importing-usin.patch
>
>
> Running following scripts work :
> ./import-hbase.sh -t ns1:table5
> ./import-hbase.sh -t table2
> But following import script specifying default namespace doesn't work :
> ./import-hbase.sh -t default:table2
> and throws following exception :
> {code}
> Exception in thread "main" org.apache.atlas.hook.AtlasHookException:
> ImportHBaseEntities failed.
> at
> org.apache.atlas.hbase.util.ImportHBaseEntities.main(ImportHBaseEntities.java:57)
> Caused by: java.lang.NullPointerException
> at
> org.apache.atlas.hbase.util.ImportHBaseEntities.importTable(ImportHBaseEntities.java:115)
> at
> org.apache.atlas.hbase.util.ImportHBaseEntities.execute(ImportHBaseEntities.java:88)
> at
> org.apache.atlas.hbase.util.ImportHBaseEntities.main(ImportHBaseEntities.java:54)
> Failed to import HBase Data Model!!!
> {code}
> In HBase shell , it is possible to create table in default namespace by
> specifying the default namespace explicitly :
> > create 'default:table2,'cf1'
> so ,expectation is that importing by explicitly specifying default namespace
> also should work.
> CC : [~rmani]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)