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

BigDecimalSplitter java.lang.ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.4, 1.4.5, 1.4.6
    • 1.4.7
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: