Beeline throws ArrayIndexOutOfBoundsException for mismatched arguments (Szehon via Xuefu)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1583152 13f79535-47bb-0310-9956-ffa450edef68