HIVE-4489 : beeline always return the same error message twice (Chaoyu Tang via Ashutosh Chauhan)

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