<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Pig view fail with tez execution in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201379#M65671</link>
    <description>&lt;P&gt;thank you it works for me.. but can u explain why we have to add this in the configuration? &lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 16:02:59 GMT</pubDate>
    <dc:creator>azharanuar93</dc:creator>
    <dc:date>2017-07-28T16:02:59Z</dc:date>
    <item>
      <title>Pig view fail with tez execution</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201377#M65669</link>
      <description>&lt;P&gt;Hi, im trying to execute  pig script using tez  in pig view it fails, but when i run in command line it works fine&lt;/P&gt;&lt;P&gt;ERROR org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager - Exception while waiting for Tez client to be ready
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:166)
at org.apache.tez.client.TezClient.getTezJarResources(TezClient.java:831)
at org.apache.tez.client.TezClient.start(TezClient.java:355)
at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:102)
at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.getClient(TezSessionManager.java:234)
at org.apache.pig.backend.hadoop.executionengine.tez.TezJob.run(TezJob.java:203)
at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher$1.run(TezLauncher.java:210)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-07-28 12:02:44,415 [PigTezLauncher-0] ERROR org.apache.pig.backend.hadoop.executionengine.tez.TezJob - Cannot submit DAG
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.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:111)
at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.getClient(TezSessionManager.java:234)
at org.apache.pig.backend.hadoop.executionengine.tez.TezJob.run(TezJob.java:203)
at org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher$1.run(TezLauncher.java:210)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
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:166)
at org.apache.tez.client.TezClient.getTezJarResources(TezClient.java:831)
at org.apache.tez.client.TezClient.start(TezClient.java:355)
at org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:102)
... 8 more&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:17:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201377#M65669</guid>
      <dc:creator>azharanuar93</dc:creator>
      <dc:date>2017-07-28T11:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pig view fail with tez execution</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201378#M65670</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14232/azharanuar93.html" nodeid="14232"&gt;@Mohd Azhar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You are getting the error showing the following message:&lt;/P&gt;&lt;PRE&gt;TezUncheckedException: Invalid configuration of tez jars, tez.lib.uris is not defined&lt;/PRE&gt;&lt;P&gt;So can you please check and share the "tez.lib.uris" property to the above file location under Ambari &amp;gt; Hive configs &amp;gt; (custom hive-site)  is it pointing to correct tar file?
&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;tez.lib.uris = /hdp/apps/${hdp.version}/tez/tez.tar.gz&lt;/PRE&gt;&lt;P&gt;- Also please check if the path for the "tez-site.xml" is added in the "webhcat-site.xml" in Hive configs as following or not:&lt;/P&gt;&lt;PRE&gt;templeton.libjars=/usr/hdp/${hdp.version}/zookeeper/zookeeper.jar,/usr/hdp/${hdp.version}/hive/lib/hive-common.jar/,/etc/tez/conf/tez-site.xml&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 11:31:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201378#M65670</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-07-28T11:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pig view fail with tez execution</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201379#M65671</link>
      <description>&lt;P&gt;thank you it works for me.. but can u explain why we have to add this in the configuration? &lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 16:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Pig-view-fail-with-tez-execution/m-p/201379#M65671</guid>
      <dc:creator>azharanuar93</dc:creator>
      <dc:date>2017-07-28T16:02:59Z</dc:date>
    </item>
  </channel>
</rss>

