You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by Ruchi Solani <ru...@freestoneinfotech.com> on 2018/03/23 11:50:54 UTC

Re: Review Request 65813: ATLAS-2462 Sqoop import for all tables throws NPE for no table provided in command

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65813/
-----------------------------------------------------------

(Updated March 23, 2018, 11:50 a.m.)


Review request for atlas and Madhan Neethiraj.


Bugs: ATLAS-2462
    https://issues.apache.org/jira/browse/ATLAS-2462


Repository: atlas


Description
-------

When tried importing a specific table with below command there is no error:

sqoop import --connect jdbc:mysql://localhost/test --table testtable221 --hive-import --hive-database sqoopimport023 --hive-table hivetesttable221 --username root -P -m 1 --fetch-size 1

When tried to import all tables from a specific database using below command, got NP error:

sqoop import-all-tables --connect jdbc:mysql://localhost/test --hive-import --hive-database sqoopimport022 --username root -P -m 1 --fetch-size 1


Diffs (updated)
-----

  addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java 9e43430 


Diff: https://reviews.apache.org/r/65813/diff/3/

Changes: https://reviews.apache.org/r/65813/diff/2-3/


Testing
-------

sanity testing done.


Thanks,

Ruchi Solani


Re: Review Request 65813: ATLAS-2462 Sqoop import for all tables throws NPE for no table provided in command

Posted by Madhan Neethiraj <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65813/#review199886
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On March 23, 2018, 11:50 a.m., Ruchi Solani wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65813/
> -----------------------------------------------------------
> 
> (Updated March 23, 2018, 11:50 a.m.)
> 
> 
> Review request for atlas and Madhan Neethiraj.
> 
> 
> Bugs: ATLAS-2462
>     https://issues.apache.org/jira/browse/ATLAS-2462
> 
> 
> Repository: atlas
> 
> 
> Description
> -------
> 
> When tried importing a specific table with below command there is no error:
> 
> sqoop import --connect jdbc:mysql://localhost/test --table testtable221 --hive-import --hive-database sqoopimport023 --hive-table hivetesttable221 --username root -P -m 1 --fetch-size 1
> 
> When tried to import all tables from a specific database using below command, got NP error:
> 
> sqoop import-all-tables --connect jdbc:mysql://localhost/test --hive-import --hive-database sqoopimport022 --username root -P -m 1 --fetch-size 1
> 
> 
> Diffs
> -----
> 
>   addons/sqoop-bridge/src/main/java/org/apache/atlas/sqoop/hook/SqoopHook.java 9e43430 
> 
> 
> Diff: https://reviews.apache.org/r/65813/diff/3/
> 
> 
> Testing
> -------
> 
> sanity testing done.
> 
> 
> Thanks,
> 
> Ruchi Solani
> 
>