kevinweil/elephant-bird — Issue #136: Signature is null in SequenceFileLoader
Author: dmeister
Created: 2012-02-14 12:33:11+00:00
State: open

I have a similar problem as in #112, but with the SequenceFileLoader in the mapreduce mode.

The signature is null and a command fails because of that. The error is:

java.lang.NullPointerException: Signature is null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:204)
at com.twitter.elephantbird.pig.load.SequenceFileLoader.getContextProperties(SequenceFileLoader.java:296)
at com.twitter.elephantbird.pig.load.SequenceFileLoader.getContextProperty(SequenceFileLoader.java:306)
at com.twitter.elephantbird.pig.load.SequenceFileLoader.setLocation(SequenceFileLoader.java:411)

The commands leading to this error are:

A = load 'hdfs://XXX' USING com.twitter.elephantbird.pig.load.SequenceFileLoader (
'-c com.twitter.elephantbird.pig.util.TextConverter',
'-c com.twitter.elephantbird.pig.util.ProtobufWritableConverter de.pc2.dedup.fschunk.pig.PigProtocol.File');
ILLUSTRATE A;