NPE in org.apache.hadoop.fs.BufferedFSInputStream.getPos

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NPE in org.apache.hadoop.fs.BufferedFSInputStream.getPos

lindenblatt
after running 3 hours without problems now i am getting NPE:

java.lang.NullPointerException
at org.apache.hadoop.fs.BufferedFSInputStream.getPos(BufferedFSInputStream.jav
48)
at org.apache.hadoop.fs.FSDataInputStream.getPos(FSDataInputStream.java:41)
at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.readChunk(Ch
ksumFileSystem.java:205)
at org.apache.hadoop.fs.FSInputChecker.readChecksumChunk(FSInputChecker.java:2
)
at org.apache.hadoop.fs.FSInputChecker.fill(FSInputChecker.java:176)
at org.apache.hadoop.fs.FSInputChecker.read(FSInputChecker.java:109)
at java.io.DataInputStream.readInt(DataInputStream.java:370)
at org.apache.hadoop.io.SequenceFile$Reader.readRecordLength(SequenceFile.java
794)
at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1824)
at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1729)
at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1775)
at org.apache.hadoop.mapred.SequenceFileRecordReader.next(SequenceFileRecordRe
er.java:79)
at org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:147)
at org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:127)


Build trunk (19.02.2008), Windows XP, JDK 1.6.0_03, cygwin

any Idea ?
Reply | Threaded
Open this post in threaded view
|

Re: NPE in org.apache.hadoop.fs.BufferedFSInputStream.getPos

Dennis Kubes-2
this needs to be forwarded to the hadoop users mailing list, copying it
there.

Dennis

lindenblatt wrote:

> after running 3 hours without problems now i am getting NPE:
>
> java.lang.NullPointerException
> at
> org.apache.hadoop.fs.BufferedFSInputStream.getPos(BufferedFSInputStream.jav
> 48)
> at org.apache.hadoop.fs.FSDataInputStream.getPos(FSDataInputStream.java:41)
> at
> org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.readChunk(Ch
> ksumFileSystem.java:205)
> at
> org.apache.hadoop.fs.FSInputChecker.readChecksumChunk(FSInputChecker.java:2
> )
> at org.apache.hadoop.fs.FSInputChecker.fill(FSInputChecker.java:176)
> at org.apache.hadoop.fs.FSInputChecker.read(FSInputChecker.java:109)
> at java.io.DataInputStream.readInt(DataInputStream.java:370)
> at
> org.apache.hadoop.io.SequenceFile$Reader.readRecordLength(SequenceFile.java
> 794)
> at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1824)
> at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1729)
> at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1775)
> at
> org.apache.hadoop.mapred.SequenceFileRecordReader.next(SequenceFileRecordRe
> er.java:79)
> at
> org.apache.hadoop.mapred.MapTask$TrackedRecordReader.next(MapTask.java:147)
> at org.apache.nutch.fetcher.Fetcher$FetcherThread.run(Fetcher.java:127)
>
>
> Build trunk (19.02.2008), Windows XP, JDK 1.6.0_03, cygwin
>
> any Idea ?