java.io.IOException: Received Error while processing the reduce plan: Caught error from UDF TransformBag[java.lang.Long cannot be cast to java.lang.String [java.lang.Long cannot be cast to java.lang.String]]

hadoop-pig-user | Santhosh Srinivasan | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Re: Bag items are casted to unexpected types?

    hadoop-pig-user | 8 years ago | daga@ya.ru
    java.io.IOException: Received Error while processing the reduce plan: Caught error from UDF TransformBag[java.lang.Long cannot be cast to java.lang.String [java.lang.Long cannot be cast to java.lang.String]]
  2. 0

    RE: Bag items are casted to unexpected types?

    hadoop-pig-user | 8 years ago | Santhosh Srinivasan
    java.io.IOException: Received Error while processing the reduce plan: Caught error from UDF TransformBag[java.lang.Long cannot be cast to java.lang.String [java.lang.Long cannot be cast to java.lang.String]]

    Root Cause Analysis

    1. java.io.IOException

      Received Error while processing the reduce plan: Caught error from UDF TransformBag[java.lang.Long cannot be cast to java.lang.String [java.lang.Long cannot be cast to java.lang.String]]

      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.runPipeline()
    2. org.apache.pig
      PigMapReduce$Reduce.reduce
      1. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.runPipeline(PigMapReduce.java:307)
      2. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.processOnePackageOutput(PigMapReduce.java:247)
      3. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:224)
      4. org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:136)
      4 frames
    3. Hadoop
      Child.main
      1. org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:430)
      2. org.apache.hadoop.mapred.Child.main(Child.java:155)
      2 frames