Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-2399

BigDecimalSplitter java.lang.ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.4, 1.4.5, 1.4.6
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      None
    • Environment:

      mapr 3.1.0 release hadoop 0.20.2 CentOS 6.5

      Description

      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)

        Attachments

        1. SQOOP-2399.V0.patch
          7 kB
          Sowmya Ramesh
        2. SQOOP-2399.V1.patch
          7 kB
          Sowmya Ramesh

          Issue Links

            Activity

              People

              • Assignee:
                sowmyaramesh Sowmya Ramesh
                Reporter:
                williamvolkman William Volkman
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: