We recently upgraded to Hive-0.8.0 and noticed that all queries fail when run as hive -e <query> with the error ,
sampd@face:~$ hive -e "show tables;"
FAILED: Parse Error: line 1:0 cannot recognize input near 'show' '<EOF>' '<EOF>' in ddl statement
hive -f option works though . Has anyone else faced this ?