incubator-hcatalog-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Li <sarah.lib...@gmail.com>
Subject TestReaderWriter failed with hadoop-1.1.1 due to a NPE error
Date Mon, 25 Feb 2013 15:16:11 GMT
Hi, All
When I ran hcatalog-0.4.0 with hadoop-1.1.1 and hive-0.9.0, (It could pass
with hadoop-1.0.3 )
I got the following NPE error:

  <testcase classname="org.apache.
hcatalog.data.TestReaderWriter" name="test" time="6.932">
    <error
type="java.lang.NullPointerException">java.lang.NullPointerException
        at
org.apache.hadoop.fs.BufferedFSInputStream.getPos(BufferedFSInputStream.java:48)
        at
org.apache.hadoop.fs.FSDataInputStream.getPos(FSDataInputStream.java:41)
        at
org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.readChunk(ChecksumFileSystem.java:219)
        at
org.apache.hadoop.fs.FSInputChecker.readChecksumChunk(FSInputChecker.java:237)
        at
org.apache.hadoop.fs.FSInputChecker.read1(FSInputChecker.java:189)
        at org.apache.hadoop.fs.FSInputChecker.read(FSInputChecker.java:158)
        at java.io.DataInputStream.read(DataInputStream.java:94)
        at org.apache.hadoop.util.LineReader.readLine(LineReader.java:134)
        at
org.apache.hadoop.mapred.LineRecordReader.next(LineRecordReader.java:176)
        at
org.apache.hadoop.mapred.LineRecordReader.next(LineRecordReader.java:43)
        at
org.apache.hcatalog.mapreduce.HCatRecordReader.nextKeyValue(HCatRecordReader.java:188)
        at
org.apache.hcatalog.data.transfer.impl.HCatInputFormatReader$HCatRecordItr.hasNext(HCatInputFormatReader.java:107)
        at
org.apache.hcatalog.data.TestReaderWriter.runsInSlave(TestReaderWriter.java:139)
        at
org.apache.hcatalog.data.TestReaderWriter.test(TestReaderWriter.java:104)
</error>
  </testcase>

Did you met this before?

Thanks

Mime
View raw message