java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)

incubator-sqoop-user | arvind@cloudera.com | 5 years ago
  1. 0

    Re: [sqoop-user] Re: Sqoop to avro and null string fields - NPE

    incubator-sqoop-user | 5 years ago | arvind@cloudera.com
    java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)
  2. 0

    Re: [sqoop-user] Re: Sqoop to avro and null string fields - NPE

    sqoop-user | 5 years ago | arvind@cloudera.com
    java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)
  3. 0

    Re: [sqoop-user] Re: Sqoop to avro and null string fields - NPE

    incubator-sqoop-user | 5 years ago | arvind@cloudera.com
    java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: [sqoop-user] Re: Sqoop to avro and null string fields - NPE

    sqoop-user | 5 years ago | arvind@cloudera.com
    java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)
  6. 0

    Re: [sqoop-user] Re: Sqoop to avro and null string fields - NPE

    incubator-sqoop-user | 5 years ago | arvind@cloudera.com
    java.lang.NullPointerException: null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null of string in field advertiser_account_country of dimension_creative at org.apache.avro.generic.GenericDatumWriter.npe(GenericDatumWriter.java: 92) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 86) at org.apache.avro.generic.GenericDatumWriter.write(GenericDatumWriter.java: 57) at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java: 244) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:55) at com.cloudera.sqoop.mapreduce.AvroOutputFormat $1.write(AvroOutputFormat.java:51) at org.apache.hadoop.mapred.MapTask $NewDirectOutputCollector.write(MapTask.java:530) at > org.apache.hadoop.mapreduce.TaskInputOutputContext.write(TaskInputOutputContext.java: 80) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 59) at com.cloudera.sqoop.mapreduce.AvroImportMapper.map(AvroImportMapper.java: 42)

      at org.apache.hadoop.mapreduce.Mapper.run()
    2. Hadoop
      Mapper.run
      1. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
      1 frame