You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Erzsebet Szilagyi <er...@gmail.com> on 2016/09/27 08:55:08 UTC

Re: Review Request 50655: SQOOP-2991 : endless failed Netezza import

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



Hi Benjamin,
I downloaded this patch and tried an 'ant compile-all' but it failed with the following:

    [javac] /.../src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java:199: error: constructor NetezzaJDBCStatementRunner in class NetezzaJDBCStatementRunner cannot be applied to given types;
    [javac]       extTableThread = new NetezzaJDBCStatementRunner(Thread.currentThread(),
    [javac]                        ^
    [javac]   required: Thread,Connection,String,NamedFifo
    [javac]   found: Thread,Connection,String
    [javac]   reason: actual and formal argument lists differ in length

Do you think the error is at my side or there's a problem with the code?
Thanks,
Liz

- Erzsebet Szilagyi


On Aug. 22, 2016, 10:42 p.m., Benjamin BONNET wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50655/
> -----------------------------------------------------------
> 
> (Updated Aug. 22, 2016, 10:42 p.m.)
> 
> 
> Review request for Sqoop, David Robson, Jarek Cecho, and Kathleen Ting.
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> See on JIRA https://issues.apache.org/jira/browse/SQOOP-2991
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java 2efea53 
>   src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaJDBCStatementRunner.java cedfd23 
> 
> Diff: https://reviews.apache.org/r/50655/diff/
> 
> 
> Testing
> -------
> 
> Tested with requests that throw errors on Netezza side : importing with a user that has not enough rights to create an external table. Without patch, import fails but map reduce job never ends, with patch, import fails, map reduce job ends with an IOException.
> 
> 
> Thanks,
> 
> Benjamin BONNET
> 
>


Re: Review Request 50655: SQOOP-2991 : endless failed Netezza import

Posted by Benjamin BONNET <be...@m4x.org>.

> On sep. 27, 2016, 8:55 matin, Erzsebet Szilagyi wrote:
> > Hi Benjamin,
> > I downloaded this patch and tried an 'ant compile-all' but it failed with the following:
> > 
> >     [javac] /.../src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java:199: error: constructor NetezzaJDBCStatementRunner in class NetezzaJDBCStatementRunner cannot be applied to given types;
> >     [javac]       extTableThread = new NetezzaJDBCStatementRunner(Thread.currentThread(),
> >     [javac]                        ^
> >     [javac]   required: Thread,Connection,String,NamedFifo
> >     [javac]   found: Thread,Connection,String
> >     [javac]   reason: actual and formal argument lists differ in length
> > 
> > Do you think the error is at my side or there's a problem with the code?
> > Thanks,
> > Liz

Hi,
the error is on my side. Thanks a lot for your feedback. I posted a new patch.
Regards.


- Benjamin


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


On oct. 6, 2016, 9:26 matin, Benjamin BONNET wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50655/
> -----------------------------------------------------------
> 
> (Updated oct. 6, 2016, 9:26 matin)
> 
> 
> Review request for Sqoop, David Robson, Jarek Cecho, and Kathleen Ting.
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> See on JIRA https://issues.apache.org/jira/browse/SQOOP-2991
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableExportMapper.java aa058d1 
>   src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaExternalTableImportMapper.java 2efea53 
>   src/java/org/apache/sqoop/mapreduce/db/netezza/NetezzaJDBCStatementRunner.java cedfd23 
> 
> Diff: https://reviews.apache.org/r/50655/diff/
> 
> 
> Testing
> -------
> 
> Tested with requests that throw errors on Netezza side : importing with a user that has not enough rights to create an external table. Without patch, import fails but map reduce job never ends, with patch, import fails, map reduce job ends with an IOException.
> 
> 
> Thanks,
> 
> Benjamin BONNET
> 
>