[
https://issues.apache.org/jira/browse/HADOOP-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zheng Shao updated HADOOP-4231:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Fixed as part of JIRA-4230
> Hive: converting complex objects to JSON failed.
> ------------------------------------------------
>
> Key: HADOOP-4231
> URL: https://issues.apache.org/jira/browse/HADOOP-4231
> Project: Hadoop Core
> Issue Type: Improvement
> Reporter: Zheng Shao
> Assignee: Zheng Shao
> Priority: Minor
> Attachments: HADOOP-4231.0.txt
>
>
> 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)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.