Did you try comparing 0.90.20100924 to 0.90.1 to see if changes? Does your hbase have 'HBASE-3392 Update backport of InputSampler to reflect MAPREDUCE-1820'? If not, want to apply it -- or just fast forward your install to 0.90.1?
St.Ack On Tue, Mar 1, 2011 at 8:38 PM, Geoff Hendrey <[email protected]> wrote: > I am using HBase 0.89.20100924. I get a NullPointerException from > org.apache.hadoop.hbase.mapreduce.hadoopbackport.InputSampler: > > > > [exec] Exception in thread "main" java.lang.NullPointerException > > [exec] at > org.apache.hadoop.mapreduce.lib.input.SequenceFileRecordReader.nextKeyVa > lue(SequenceFileRecordReader.java:67) > > [exec] at > org.apache.hadoop.hbase.mapreduce.hadoopbackport.InputSampler$RandomSamp > ler.getSample(InputSampler.java:219) > > [exec] at > org.apache.hadoop.hbase.mapreduce.hadoopbackport.InputSampler.writeParti > tionFile(InputSampler.java:314) > > > > I saw a post claiming that this is because of a bug in InputSampler in > which initialize has not been called on the SequenceFileRecordReader. > This seems plausible, from looking at the source in > hbase-0.89.20100924-src.tar.gz. Any advice would be appreciated since > this is blocking me from using the TotalOrderingPartitioner. > > > > -geoff > > > > > > > >
