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

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

    Failed to build solr index using Pig

    GitHub | 6 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