Sqoop
  1. Sqoop
  2. SQOOP-1113

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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)
      
      1. SQOOP-1113.patch
        4 kB
        Venkat Ranganathan
      2. failing_test.patch
        2 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development