hue fails to run tez queries

615 views
Skip to first unread message

Nikhil Mulley

unread,
Oct 13, 2016, 4:32:39 PM10/13/16
to Hue-Users
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)

Nikhil Mulley

unread,
Oct 13, 2016, 4:33:51 PM10/13/16
to Hue-Users
btw, hadoop is apache hadoop 2.6.4

Romain Rigaux

unread,
Oct 13, 2016, 4:57:43 PM10/13/16
to Nikhil Mulley, Hue-Users
Probably because you are running more than one query at the time. There is a new option for supporting more queries coming with https://github.com/cloudera/hue/pull/436

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Nikhil Mulley

unread,
Oct 13, 2016, 5:34:59 PM10/13/16
to Hue-Users, mni...@gmail.com
this is just with one query at any time.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.

Nikhil Mulley

unread,
Oct 19, 2016, 3:09:18 PM10/19/16
to Hue-Users, mni...@gmail.com
turns out hive-server2 needed a restarted after the tez upgrade. Hue works fine after that.
Reply all
Reply to author
Forward
0 new messages