When Hive Cli is invoked, it initializes a Tez application. Seems like the AM container launch has some issues. Check the Resource Manager log for the same.
To launch Hive Cli without Tez session initialization, try either of the below commands:
hive --hiveconf hive.execution.engine=mr
hive --hiveconf hive.server2.tez.initialize.default.session=false
i was succesful in launching the tez engine but now i am getting an error of java lang runtime exception : java outofmemory : java heap size. i tried giving some more memory for the java heap size but it still the task is failing. indhu