Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # dev >> Review Request: SQOOP-854 pg_bulkload: Return value of pg_bulkload utility is being ignored


+
Jarek Cecho 2013-01-30, 23:39
+
Venkat Ranganathan 2013-01-30, 23:54
Copy link to this message
-
Re: Review Request: SQOOP-854 pg_bulkload: Return value of pg_bulkload utility is being ignored


> On Jan. 30, 2013, 11:54 p.m., Venkat Ranganathan wrote:
> > Hi Jarcec
> > +1
> > It is a good catch and the fix looks good.  Should the Interruptedexception be ignored?   I know it is not part of this JIRA, but I am wondering we should log for that also.   I can create another JIRA if you think it needs to be separate from this to caught and thrown an exception when we hit the InterruptedException when waiting for the process to end

Hi Venkat,
I let it there because there is an infinite loop that will simply wait until the process terminates. But you're right, we should at least log the exception. Please do not hesitate and open the JIRA!

Jarcec
- Jarek
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9167/#review15905
-----------------------------------------------------------
On Jan. 30, 2013, 11:39 p.m., Jarek Cecho wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9167/
> -----------------------------------------------------------
>
> (Updated Jan. 30, 2013, 11:39 p.m.)
>
>
> Review request for Sqoop.
>
>
> Description
> -------
>
> I've added check of the return value.
>
>
> This addresses bug SQOOP-854.
>     https://issues.apache.org/jira/browse/SQOOP-854
>
>
> Diffs
> -----
>
>   src/java/org/apache/sqoop/mapreduce/PGBulkloadExportMapper.java 14d064a51725b23fe79990df8288554b4a22556a
>
> Diff: https://reviews.apache.org/r/9167/diff/
>
>
> Testing
> -------
>
> Tested on real cluster.
>
>
> Thanks,
>
> Jarek Cecho
>
>

+
Cheolsoo Park 2013-01-30, 23:47