HIVE-5936 : analyze command failing to collect stats with counter mechanism (Navis via Ashutosh Chauhan)

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