java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

hive-user | Steven Wong | 6 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

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    apache.org | 1 year ago
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  2. 0

    Re: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hadoop-hive-user | 6 years ago | Hock Zoltán
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  3. 0

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hadoop-hive-user | 6 years ago | Steven Wong
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    hive-user | 6 years ago | Steven Wong
    java.lang.RuntimeException: java.lang.Double cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Double cannot be cast to java.lang.String

      at org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector.getPrimitiveWritableObject()
    2. Hive Serde
      BinarySortableSerDe.serialize
      1. org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector.getPrimitiveWritableObject(JavaStringObjectInspector.java:35)
      2. org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.serialize(BinarySortableSerDe.java:506)
      3. org.apache.hadoop.hive.serde2.binarysortable.BinarySortableSerDe.serialize(BinarySortableSerDe.java:399)
      3 frames
    3. Hive Query Language
      ExecMapper.map
      1. org.apache.hadoop.hive.ql.exec.ReduceSinkOperator.processOp(ReduceSinkOperator.java:162)
      2. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      3. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      4. org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:81)
      5. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      6. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      7. org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:73)
      8. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      9. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      10. org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:73)
      11. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      12. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      13. org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:43)
      14. org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:386)
      15. org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:598)
      16. org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:350)
      17. org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:171)
      17 frames
    4. Hadoop
      Child.main
      1. org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
      2. org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:358)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:307)
      4. org.apache.hadoop.mapred.Child.main(Child.java:170)
      4 frames