hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6349) Column name map is broken
Date Mon, 03 Feb 2014 19:39:06 GMT

    [ https://issues.apache.org/jira/browse/HIVE-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889809#comment-13889809
] 

Sergey Shelukhin commented on HIVE-6349:
----------------------------------------

Linking the previous jira. 
HIVE-5817.00-broken.patch is an unfinished (close-to-finished iirc) patch there that makes
the columns in the map be by operator, w/"lineage" tracked so that they can also be retrieved
depending on operator.

> Column name map is broken 
> --------------------------
>
>                 Key: HIVE-6349
>                 URL: https://issues.apache.org/jira/browse/HIVE-6349
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>
> Following query results in exception at run time in vector mode.
> {code}
> explain select n_name from supplier_orc s join ( select n_name, n_nationkey from nation_orc
n join region_orc r on n.n_regionkey = r.r_regionkey and r.r_name = 'XYZ') n1 on s.s_nationkey
= n1.n_nationkey;
> {code}
> Here n_name is a string and all other fields are int.
> The stack trace:
> {code}
> java.lang.RuntimeException: Hive Runtime Error while closing operators
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.close(ExecMapper.java:260)
> 	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:57)
> 	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:429)
> 	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:365)
> 	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:396)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
> 	at org.apache.hadoop.mapred.Child.main(Child.java:249)
> Caused by: java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector
cannot be cast to org.apache.hadoop.hive.ql.exec.vector.LongColumnVector
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorHashKeyWrapperBatch.evaluateBatch(VectorHashKeyWrapperBatch.java:116)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.processOp(VectorMapJoinOperator.java:280)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:790)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.processOp(VectorSelectOperator.java:133)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:790)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.flushOutput(VectorMapJoinOperator.java:246)
> 	at org.apache.hadoop.hive.ql.exec.vector.VectorMapJoinOperator.closeOp(VectorMapJoinOperator.java:253)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:574)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:585)
> 	at org.apache.hadoop.hive.ql.exec.mr.ExecMapper.close(ExecMapper.java:234)
> 	... 8 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message