Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4231

Hive: converting complex objects to JSON failed.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None

      Description

      java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set int field xxx to java.lang.String at
      org.apache.hadoop.hive.serde2.objectinspector.ReflectionStructObjectInspector.getStructFieldData(ReflectionStructObjectInspector.java:123)
      at org.apache.hadoop.hive.serde2.SerDeUtils.buildJSONString(SerDeUtils.java:231)
      at org.apache.hadoop.hive.serde2.SerDeUtils.getJSONString(SerDeUtils.java:163)
      at org.apache.hadoop.hive.serde2.MetadataTypedColumnsetSerDe.serialize(MetadataTypedColumnsetSerDe.java:181)

        Attachments

        1. HADOOP-4231.0.txt
          7 kB
          Zheng Shao

          Activity

            People

            • Assignee:
              zshao Zheng Shao
              Reporter:
              zshao Zheng Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: