Szehon Ho created HIVE-6685: ------------------------------- Summary: Beeline throws ArrayIndexOutOfBoundsException 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
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)