[
https://issues.apache.org/jira/browse/SQOOP-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876175#comment-14876175
]
Venkat Ranganathan commented on SQOOP-2399:
-------------------------------------------
Thanks [~sowmyaramesh] for taking it up and [~williamvolkman] for the initial
report and potential fix.
[~sowmyaramesh] I fixed your patch to format the comment you added. Thanks
for your contribution
> BigDecimalSplitter java.lang.ArrayIndexOutOfBoundsException
> -----------------------------------------------------------
>
> Key: SQOOP-2399
> URL: https://issues.apache.org/jira/browse/SQOOP-2399
> Project: Sqoop
> Issue Type: Bug
> Affects Versions: 1.4.4, 1.4.5
> Environment: mapr 3.1.0 release hadoop 0.20.2 CentOS 6.5
> Reporter: William Volkman
> Assignee: Sowmya Ramesh
> Attachments: SQOOP-2399.V0.patch, SQOOP-2399.V1.patch
>
>
> With a relatively small table and a text primary key this error happens:
> 15/06/14 03:00:25 WARN db.BigDecimalSplitter: Set BigDecimal splitSize to
> MIN_INCREMENT
> 15/06/14 03:00:25 INFO mapred.JobClient: Cleaning up the staging area
> maprfs:/var/mapr/cluster/mapred/jobTracker/staging/mapr/.staging/job_201404251052_5654
> 15/06/14 03:00:25 ERROR sqoop.Sqoop: Got exception running Sqoop:
> java.lang.ArrayIndexOutOfBoundsException: -1
> java.lang.ArrayIndexOutOfBoundsException: -1
> at java.util.ArrayList.elementData(ArrayList.java:371)
> at java.util.ArrayList.get(ArrayList.java:384)
> at
> org.apache.sqoop.mapreduce.db.BigDecimalSplitter.split(BigDecimalSplitter.java:143)
> at
> org.apache.sqoop.mapreduce.db.TextSplitter.split(TextSplitter.java:151)
> at
> org.apache.sqoop.mapreduce.db.TextSplitter.split(TextSplitter.java:113)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)