Hi all

I am trying to load the Zebra file generated from BasicTableOutputFormat in
the MapReduce code. The code is similar with
org.apache.hadoop.zebra.mapred.TableMapReduceExample. But it throws
following exceptions while it splits the data in TableInputFormat:

Exception in thread "main" java.io.IOException: BasicTable.Reader
constructor failed : Missing Meta File of t_table/CG0/.meta
    at
org.apache.hadoop.zebra.io.BasicTable$Reader.<init>(BasicTable.java:328)
    at
org.apache.hadoop.zebra.io.BasicTable$Reader.<init>(BasicTable.java:287)
    at
org.apache.hadoop.zebra.mapred.TableInputFormat.getSplits(TableInputFormat.java:883)

The directory generated from BasicTableOutputFormat contains the following
files (without .meta)

/table/.btschema
/table/CG0
/table/CG0/.schema
/table/CG0/part-0
/table/CG1
/table/CG1/.schema
/table/CG1/part-0
/table/_temporary
/table/_temporary/CG0
/table/_temporary/CG1

The same erroe occurs if I store and then load the data in Pig interface
(missing .meta file).

How can I transfer the raw data into zebra format and then load them in Pig
or MR program? Any suggestions would be appreciated!

-
Regards
Yuting

Reply via email to