java.lang.ClassCastException: com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple cannot be cast to org.apache.pig.LoadFunc

Google Groups | Samir Madhavan | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Pig Protobuf Error

    Google Groups | 4 years ago | Samir Madhavan
    java.lang.ClassCastException: com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple cannot be cast to org.apache.pig.LoadFunc

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.twitter.elephantbird.pig.piggybank.ProtobufBytesToTuple cannot be cast to org.apache.pig.LoadFunc

      at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp()
    2. org.apache.pig
      QueryParserDriver.parse
      1. org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:823)
      2. org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:835)
      3. org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:3236)
      4. org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1315)
      5. org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:799)
      6. org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:517)
      7. org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:392)
      8. org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:184)
      8 frames