java.lang.ClassCastException: org.joda.time.DateTime cannot be cast to java.lang.String

GitHub | aftnix | 5 months 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

    Failed to build solr index using Pig

    GitHub | 5 months ago | aftnix
    java.lang.ClassCastException: org.joda.time.DateTime cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.joda.time.DateTime cannot be cast to java.lang.String

      at org.apache.pig.backend.hadoop.executionengine.tez.plan.operator.POStoreTez.getNextTuple()
    2. org.apache.pig
      PigProcessor.run
      1. org.apache.pig.backend.hadoop.executionengine.tez.plan.operator.POStoreTez.getNextTuple(POStoreTez.java:148)
      2. org.apache.pig.backend.hadoop.executionengine.tez.runtime.PigProcessor.runPipeline(PigProcessor.java:376)
      3. org.apache.pig.backend.hadoop.executionengine.tez.runtime.PigProcessor.run(PigProcessor.java:241)
      3 frames
    3. org.apache.tez
      TezTaskRunner$TaskRunnerCallable$1.run
      1. org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOProcessorRuntimeTask.java:347)
      2. org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:194)
      3. org.apache.tez.runtime.task.TezTaskRunner$TaskRunnerCallable$1.run(TezTaskRunner.java:185)
      3 frames