You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Venkat Ranganathan <n....@live.com> on 2015/04/09 07:55:43 UTC

Review Request 33005: java.lang.ArrayIndexOutOfBoundsException thrown when malformed column mapping is provided

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

Review request for Sqoop.


Bugs: SQOOP-2290
    https://issues.apache.org/jira/browse/SQOOP-2290


Repository: sqoop-trunk


Description
-------

When invalid --map-column-hive option is provided (not in key=val form), we throws an AIOBE.  This patch fixes it


Diffs
-----

  src/java/org/apache/sqoop/SqoopOptions.java e4eb2f2 
  src/test/com/cloudera/sqoop/TestSqoopOptions.java 4ae583d 

Diff: https://reviews.apache.org/r/33005/diff/


Testing
-------

Added two new tests to validate proper handling of this


Thanks,

Venkat Ranganathan


Re: Review Request 33005: java.lang.ArrayIndexOutOfBoundsException thrown when malformed column mapping is provided

Posted by Qian Xu <qi...@intel.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33005/#review79513
-----------------------------------------------------------

Ship it!


Ship It!

- Qian Xu


On April 9, 2015, 1:55 p.m., Venkat Ranganathan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33005/
> -----------------------------------------------------------
> 
> (Updated April 9, 2015, 1:55 p.m.)
> 
> 
> Review request for Sqoop.
> 
> 
> Bugs: SQOOP-2290
>     https://issues.apache.org/jira/browse/SQOOP-2290
> 
> 
> Repository: sqoop-trunk
> 
> 
> Description
> -------
> 
> When invalid --map-column-hive option is provided (not in key=val form), we throws an AIOBE.  This patch fixes it
> 
> 
> Diffs
> -----
> 
>   src/java/org/apache/sqoop/SqoopOptions.java e4eb2f2 
>   src/test/com/cloudera/sqoop/TestSqoopOptions.java 4ae583d 
> 
> Diff: https://reviews.apache.org/r/33005/diff/
> 
> 
> Testing
> -------
> 
> Added two new tests to validate proper handling of this
> 
> 
> Thanks,
> 
> Venkat Ranganathan
> 
>