<?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 Where are tez logs? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211163#M71971</link>
    <description>&lt;P&gt;My Hive query fails:&lt;/P&gt;&lt;PRE&gt;java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask&lt;/PRE&gt;&lt;P&gt;I cannot see any logs in the tez view. It looks like the parse stage is hiding to the right but I cannot access it? How do I look at it and where are the logs?&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;P&gt;For some reason I cannot upload a jpg so there is a png &lt;A href="http://dropcanvas.com/a939c"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 17:45:37 GMT</pubDate>
    <dc:creator>ed_day</dc:creator>
    <dc:date>2017-11-29T17:45:37Z</dc:date>
    <item>
      <title>Where are tez logs?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211163#M71971</link>
      <description>&lt;P&gt;My Hive query fails:&lt;/P&gt;&lt;PRE&gt;java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask&lt;/PRE&gt;&lt;P&gt;I cannot see any logs in the tez view. It looks like the parse stage is hiding to the right but I cannot access it? How do I look at it and where are the logs?&lt;/P&gt;&lt;P&gt;TIA!!&lt;/P&gt;&lt;P&gt;For some reason I cannot upload a jpg so there is a png &lt;A href="http://dropcanvas.com/a939c"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:45:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211163#M71971</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-11-29T17:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Where are tez logs?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211164#M71972</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;/A&gt;&lt;BR /&gt;Do you see any Tez View logs here?&lt;/P&gt;&lt;PRE&gt;# less /var/log/ambari-server/tez-view/tez-view.log&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;To get more details on the tez view you can also try to enable the DEBUG on tez view logs as following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step1.&lt;/STRONG&gt; Change the Tez View logging level to DEBUG  (default is INFO)&lt;/P&gt;&lt;PRE&gt;# grep 'INFO' /var/lib/ambari-server/resources/views/work/TEZ\{0.7.0.2.6.0.3-8\}/view.log4j.properties 
log4j.logger.org.apache.ambari.view.tez=INFO,tezView&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Edit the above file and change the INFO to DEBUG as following:&lt;/P&gt;&lt;PRE&gt;log4j.logger.org.apache.ambari.view.tez=DEBUG,tezView&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:  Similarly for the Hive View you can enable the DEBUG logging inside the following files:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# grep 'INFO' /var/lib/ambari-server/resources/views/work/HIVE\{2.0.0\}/view.log4j.properties 
log4j.logger.org.apache.ambari.view.hive20=INFO,hive20


# grep 'INFO' /var/lib/ambari-server/resources/views/work/HIVE\{1.5.0\}/view.log4j.properties 
log4j.logger.org.apache.ambari.view.hive2=INFO,hiveNextView&lt;/PRE&gt;&lt;P&gt;.&lt;BR /&gt;&lt;STRONG&gt;Step2. &lt;/STRONG&gt;Now restart Ambari Server and the access Tez View &lt;/P&gt;&lt;PRE&gt;# ambari-server restart&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step3.&lt;/STRONG&gt; Check the Tez Logs.&lt;/P&gt;&lt;PRE&gt;# tail -300f /var/log/ambari-server/tez-view/tez-view.log&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:59:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211164#M71972</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-29T17:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where are tez logs?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211165#M71973</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;@ed day&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want to get more detailed information for any Tez AM related logging then please change the INFO logging level to DEBUG inside:&lt;/P&gt;&lt;PRE&gt;Ambari UI --&amp;gt; Tez --&amp;gt; Configs --&amp;gt; General --&amp;gt; "tez.am.log.level"  (INFO to DEBUG) &lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Root Logging level passed to the Tez app master. Simple configuration: Set the log level for all loggers. e.g. INFO This sets the log level to INFO for all loggers.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11394/edday.html" nodeid="11394"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 18:11:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211165#M71973</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-29T18:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where are tez logs?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211166#M71974</link>
      <description>&lt;P&gt;Wow thanks. I'll try these tomorrow when my latest slow job finishes.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 18:25:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Where-are-tez-logs/m-p/211166#M71974</guid>
      <dc:creator>ed_day</dc:creator>
      <dc:date>2017-11-29T18:25:42Z</dc:date>
    </item>
  </channel>
</rss>

