[
https://issues.apache.org/jira/browse/HIVE-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127198#comment-14127198
]
Rishav Rohit commented on HIVE-5545:
------------------------------------
[~eugene.koifman] Attached is the error stack-
{quote}
13/10/11 21:06:03 INFO mapred.JobClient: Task Id :
attempt_201310112040_0005_m_000000_2, Status : FAILED
java.lang.ClassCastException: java.lang.String cannot be cast to
java.lang.Integer
at org.apache.hcatalog.data.HCatRecord.getInteger(HCatRecord.java:84)
at com.test.hcatalog.testMapper.map(testMapper.java:25)
at com.test.hcatalog.testMapper.map(testMapper.java:1)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:416)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
at org.apache.hadoop.mapred.Child.main(Child.java:249)
{quote}
> HCatRecord getInteger method returns String when used on Partition columns of
> type INT
> --------------------------------------------------------------------------------------
>
> Key: HIVE-5545
> URL: https://issues.apache.org/jira/browse/HIVE-5545
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Affects Versions: 0.11.0
> Environment: hadoop-1.0.3
> Reporter: Rishav Rohit
>
> HCatRecord getInteger method returns String when used on Partition columns of
> type INT.
> java.lang.ClassCastException: java.lang.String cannot be cast to
> java.lang.Integer
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)