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

Xuefu Zhang commented on HIVE-6685:
-----------------------------------

[~szehon] Thanks for working on this. I have some review comments on review 
board for your consideration.

> 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.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)

Reply via email to