Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hive console is Not working Tez Configuration Exception? Invalid configuration of tez jars, tez.lib.uris is not defined in the configuration

Hive console is Not working Tez Configuration Exception? Invalid configuration of tez jars, tez.lib.uris is not defined in the configuration

New Contributor

root@machine1:~# hadoop fs -ls /hdp/apps/ Found 1 items dr-xr-xr-x - hdfs hadoop 0 2017-04-07 13:00 /hdp/apps/2.3.6.0-3796

root@machine1:~# hadoop fs -ls /hdp/apps/2.3.6.0-3796/tez Found 1 items -r-xr-xr-x 3 hdfs hadoop 58674132 2017-04-07 12:55 /hdp/apps/2.3.6.0-3796/tez/tez.tar.gz root@machine1:~# hadoop fs -get /hdp/apps/2.3.6.0-3796/tez/tez.tar.gz

root@machine1:~# hadoop fs -ls /hdp/apps/2.3.6.0-3796/tez Found 1 items -r-xr-xr-x 3 hdfs hadoop 58674132 2017-04-07 12:55 /hdp/apps/2.3.6.0-3796/tez/tez.tar.gz

root@machine1:~# hdfs dfs -test -f /hdp/apps/2.3.6.0-3796/tez/tez.tar.gz && echo 'dir exists' || echo 'sorry, no such dir' dir exists

root@machine1:~# hive WARNING: Use "yarn jar" to launch YARN applications. Logging initialized using configuration in file:/etc/hive/2.3.6.0-3796/0/hive-log4j.properties Exception in thread "main" java.lang.RuntimeException:

org.apache.tez.dag.api.TezUncheckedException: Invalid configuration of tez jars, tez.lib.uris is not defined in the configuration at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:516) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:680) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:624) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) 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.TezUncheckedException: Invalid configuration of tez jars, tez.lib.uris is not defined in the configuration at org.apache.tez.client.TezClientUtils.setupTezJarsLocalResources(TezClientUtils.java:168) at org.apache.tez.client.TezClient.getTezJarResources(TezClient.java:864) at org.apache.tez.client.TezClient.start(TezClient.java:381) at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:196) at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:117) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:513) ... 8 more

Don't have an account?
Coming from Hortonworks? Activate your account here