Null Pointer while importing Data from Couchbase using Sqoop


#1

I am trying to import data from Cocuhbase to hadoop using sqoop import I am getting following exception:
attempt_1455255761785_0013_m_000002_0, Status : FAILED
Error: java.lang.NullPointerException
at com.couchbase.sqoop.mapreduce.db.CouchbaseRecordReader.nextKeyValue(CouchbaseRecordReader.java:197)
at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:556)
at org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)
at org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
at org.apache.sqoop.mapreduce.AutoProgressMapper.run(AutoProgressMapper.java:64)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)


#2

A couple of quick questions:

  1. Do you get any output at all in Hadoop?
  2. Can you give me an idea of what your CLI is?