AnsweredAssumed Answered

Pig and Zebra - .meta not being created...

Question asked by andy_sautins on Aug 19, 2011
Latest reply on Aug 19, 2011 by Ted Dunning

   I have been trying a few Pig scripts that have been working fine on the Cloudera distribution of Hadoop.  I can create a new zebra store as follows:

STORE C INTO '/user/abc/c' USING org.apache.hadoop.zebra.pig.TableStorer('');

   It gets created, however when I try to read it back using the following:

C = LOAD '/user/abc/c' USING org.apache.hadoop.zebra.pig.TableLoader('', 'sorted');

   I get the following error. 
Caused by: BasicTable.Reader constructor failed : Missing Meta File of maprfs://
        at org.apache.hadoop.zebra.mapreduce.TableInputFormat.setSplitMode(
        at org.apache.hadoop.zebra.pig.TableLoader.setSortOrder(
        at org.apache.hadoop.zebra.pig.TableLoader.getSchema(
        at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(
        ... 20 more

   It's interesting that the behavior of the same script ( running the same version of Pig/Zebra ) behaves differently.

   I was curious if anyone else has run into any issues with Pig/Zebra on MapR.