You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2014/10/10 22:14:37 UTC

[jira] [Created] (AMBARI-7739) hive command line fails to start after setting hive.execution.engine to tez in HDP 2.2.1

Alejandro Fernandez created AMBARI-7739:
-------------------------------------------

             Summary: hive command line fails to start after setting hive.execution.engine to tez in HDP 2.2.1
                 Key: AMBARI-7739
                 URL: https://issues.apache.org/jira/browse/AMBARI-7739
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 1.7.0
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
            Priority: Blocker
             Fix For: 1.7.0, 2.0.0


Create an Ambari 1.7.0 cluster with HDP 2.2.1, and install HDFS, Tez, MR, Hive, Zookeeper.

After switching the hive.execution.engine from "mr" to "tez", attempting to run the hive shell generates an error.

{code}
Logging initialized using configuration in file:/etc/hive/conf.server/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown
	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:457)
	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:670)
	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown
	at org.apache.tez.client.TezClient.waitTillReady(TezClient.java:598)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:206)
	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:119)
	at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:454)
	... 8 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)