Hi,
I have apache tez 0.7.1 installed with apache hive 1.2.1.1.0.14 and hue is 3.9.0
when I set execution engine to tez and run hive from command line on hue server, things work fine. When I set the same on hue query interface, hue fails to open a tez session and below is the stack trace it provides.
Any idea what could be wrong with the configuration or setup here?
thanks.
INFO : Tez session hasn't been created yet. Opening session
ERROR : Failed to execute tez graph.
org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. No cluster diagnostics found.
at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:677)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:205)
at org.apache.hadoop.hive.ql.exec.tez.TezTask.updateSession(TezTask.java:249)
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:147)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1675)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1436)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1214)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1078)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1073)
at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:157)
at org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:74)
at org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQLOperation.java:213)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1656)
at org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOperation.java:228)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)