hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6685) Beeline throws ArrayIndexOutOfBoundsException for mismatched arguments
Date Fri, 21 Mar 2014 16:55:42 GMT

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

Szehon Ho commented on HIVE-6685:
---------------------------------

As this change became a refactoring, will need a rebase as the code has changed.  Will take
a look a bit later.

> Beeline throws ArrayIndexOutOfBoundsException for mismatched arguments
> ----------------------------------------------------------------------
>
>                 Key: HIVE-6685
>                 URL: https://issues.apache.org/jira/browse/HIVE-6685
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.12.0
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-6685.2.patch, HIVE-6685.patch
>
>
> Noticed that there is an ugly ArrayIndexOutOfBoundsException for mismatched arguments
in beeline prompt.  It would be nice to cleanup.
> Example:
> {noformat}
> beeline -u szehon -p
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
> 	at org.apache.hive.beeline.BeeLine.initArgs(BeeLine.java:560)
> 	at org.apache.hive.beeline.BeeLine.begin(BeeLine.java:628)
> 	at org.apache.hive.beeline.BeeLine.mainWithInputRedirection(BeeLine.java:366)
> 	at org.apache.hive.beeline.BeeLine.main(BeeLine.java:349)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message