sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin BONNET <benjamin.bon...@m4x.org>
Subject Re: Review Request 50655: SQOOP-2991 : endless failed Netezza import
Date Thu, 06 Oct 2016 09:27:39 GMT


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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message