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

Sqoop2: Text splitter will fail on interval "Breezy Badger"" to "Warty Warthog""

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.2
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:
      None

      Description

      Attached test case for text splitter will fail on following exception:

      java.lang.IllegalArgumentException
      	at java.lang.Character.toChars(Character.java:4982)
      	at org.apache.sqoop.connector.jdbc.GenericJdbcImportPartitioner.bigDecimalToText(GenericJdbcImportPartitioner.java:565)
      	at org.apache.sqoop.connector.jdbc.GenericJdbcImportPartitioner.constructTextConditions(GenericJdbcImportPartitioner.java:500)
      	at org.apache.sqoop.connector.jdbc.GenericJdbcImportPartitioner.partitionTextColumn(GenericJdbcImportPartitioner.java:269)
      	at org.apache.sqoop.connector.jdbc.GenericJdbcImportPartitioner.getPartitions(GenericJdbcImportPartitioner.java:99)
      	at org.apache.sqoop.connector.jdbc.GenericJdbcImportPartitioner.getPartitions(GenericJdbcImportPartitioner.java:38)
      	at org.apache.sqoop.connector.jdbc.TestImportPartitioner.testVarcharPartitionUbuntuEdition(TestImportPartitioner.java:463)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
      	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
      	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:196)
      	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      

        Attachments

        1. failing_test.patch
          2 kB
          Jarek Jarcec Cecho
        2. SQOOP-1113.patch
          4 kB
          Venkat Ranganathan

          Issue Links

            Activity

              People

              • Assignee:
                venkatnrangan Venkat Ranganathan
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: