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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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