You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC

[jira] [Updated] (HIVE-15813) ExecReducer: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ArrayIndexOutOfBoundsException: 0

     [ https://issues.apache.org/jira/browse/HIVE-15813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stamatis Zampetakis updated HIVE-15813:
---------------------------------------
    Fix Version/s:     (was: 1.1.1)

I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.

According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.

> ExecReducer: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ArrayIndexOutOfBoundsException: 0
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15813
>                 URL: https://issues.apache.org/jira/browse/HIVE-15813
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 1.1.1
>            Reporter: chunyanglu
>            Priority: Major
>
> when i use the beeline to run the sql :
> SELECT dt,
>        count(distinct case when source_type = 1 then tracker.udid else null end) as uv_cnt
>  FROM bi_tmp.trfc_platform_daily_03 sessn 
>  right outer JOIN bi_tmp.trfc_platform_daily_app_data tracker
>  ON sessn.session_id = tracker.session_id
>  GROUP BY dt;
> then i get the exception:
> 2017-02-04 11:05:44,979 INFO [main] org.apache.hadoop.mapred.FileInputFormat: Total input paths to process : 0 2017-02-04 11:05:44,995 FATAL [main] ExecReducer: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.ArrayIndexOutOfBoundsException: 0 	at org.apache.hadoop.hive.ql.exec.persistence.RowContainer.first(RowContainer.java:237) 	at org.apache.hadoop.hive.ql.exec.persistence.RowContainer.first(RowContainer.java:74) 	at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genObject(CommonJoinOperator.java:478) 	at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genJoinObject(CommonJoinOperator.java:451) 	at org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:752) 	at org.apache.hadoop.hive.ql.exec.JoinOperator.endGroup(JoinOperator.java:256) 	at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:204) 	at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:444) 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392) 	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164) 	at java.security.AccessController.doPrivileged(Native Method) 	at javax.security.auth.Subject.doAs(Subject.java:415) 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693) 	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 	at org.apache.hadoop.hive.ql.exec.persistence.RowContainer.first(RowContainer.java:226) 	... 13 more



--
This message was sent by Atlassian Jira
(v8.20.10#820010)