You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Dare <da...@gmail.com> on 2012/07/18 01:30:55 UTC

Not a Valid BCFile Exception

Hi,

I am using TFile for storing the Key, Value pairs.
After writing, when I open it back for reading, I am getting the following
error.

Exception in thread "main" java.io.IOException: Not a valid BCFile.
    at
org.apache.hadoop.io.file.tfile.BCFile$Magic.readAndVerify(BCFile.java:923)
    at org.apache.hadoop.io.file.tfile.BCFile$Reader.<init>(BCFile.java:625)
    at org.apache.hadoop.io.file.tfile.TFile$Reader.<init>(TFile.java:796)

Can someone please throw some light on why this error occurs and how to
avoid it??

-- 
DaRe