com.mysql.jdbc.exceptions.jdbc4.MySQLDataException: '18385347166395843554' > in column '2' is outside valid range for the datatype BIGINT. at > org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.getSplits(DataDrivenDBInputFormat.java:170) at > org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1024) at > org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1041)

sqoop-user | Jarek Jarcec Cecho | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: sqoop mysql to hive's ---split-by bug

    sqoop-user | 3 years ago | Jarek Jarcec Cecho
    com.mysql.jdbc.exceptions.jdbc4.MySQLDataException: '18385347166395843554' > in column '2' is outside valid range for the datatype BIGINT. at > org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.getSplits(DataDrivenDBInputFormat.java:170) at > org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1024) at > org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1041)

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.jdbc4.MySQLDataException

      '18385347166395843554' > in column '2' is outside valid range for the datatype BIGINT. at > org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.getSplits(DataDrivenDBInputFormat.java:170) at > org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1024) at > org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1041)

      at org.apache.hadoop.mapred.JobClient.access$700()
    2. Hadoop
      JobClient$2.run
      1. org.apache.hadoop.mapred.JobClient.access$700(JobClient.java:179)
      2. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:959)
      3. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:912)
      3 frames
    3. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames