sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park" <cheol...@cloudera.com>
Subject Re: Review Request: SQOOP-880 Sqoop2: NPE when stopping job that was never executed
Date Sun, 10 Feb 2013 21:11:20 GMT

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



core/src/main/java/org/apache/sqoop/framework/FrameworkManager.java
<https://reviews.apache.org/r/9391/#comment34892>

    Shouldn't you return if submission is null? At line 533 you do submission.getExternalId(),
so if submission is null, you will get a NPE again, no?


- Cheolsoo Park


On Feb. 9, 2013, 6:26 a.m., Jarek Cecho wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9391/
> -----------------------------------------------------------
> 
> (Updated Feb. 9, 2013, 6:26 a.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Description
> -------
> 
> I've fixed the NPE by adding explicit check.
> 
> 
> This addresses bug SQOOP-880.
>     https://issues.apache.org/jira/browse/SQOOP-880
> 
> 
> Diffs
> -----
> 
>   core/src/main/java/org/apache/sqoop/framework/FrameworkManager.java 6aab2db49e55c3152149d61f29dcf8d8a3f95ba5

> 
> Diff: https://reviews.apache.org/r/9391/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jarek Cecho
> 
>


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