java.lang.NullPointerException

incubator-sqoop-user | bejoy ks | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.cloudera.sqoop.mapreduce.db.DataDrivenDBRecordReader.getSelectQuery()
  2. com.cloudera.sqoop
    DBRecordReader.nextKeyValue
    1. com.cloudera.sqoop.mapreduce.db.DataDrivenDBRecordReader.getSelectQuery(DataDrivenDBRecordReader.java:87)
    2. com.cloudera.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:225)
    2 frames
  3. Hadoop
    Mapper.run
    1. org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:456)
    2. org.apache.hadoop.mapreduce.MapContext.nextKeyValue(MapContext.java:67)
    3. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:143)
    3 frames
  4. com.cloudera.sqoop
    AutoProgressMapper.run
    1. com.cloudera.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:187)
    1 frame
  5. Hadoop
    Child$4.run
    1. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:647)
    2. org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
    3. org.apache.hadoop.mapred.Child$4.run(Child.java:270)
    3 frames
  6. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:396)
    2 frames
  7. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
    1 frame
  8. Hadoop
    Child.main
    1. org.apache.hadoop.mapred.Child.main(Child.java:264)
    1 frame