In the command execution using the beeline connection always works, however with hive-e it does not work.
How it works:
beeline -u jdbc:hive2://aaats879454co.sistema.br:10000/sistema tez.queue.name=Desenvolvedores -n usuario01 -e "show databases";
But it does not work:
hive -e "show databases";