So, we moved beyond this problem. Yarn configuration object needed to be
explicitly instantiated in the right spot even though yarn config files were
present on the classpath
thanks,Madhu
On Wednesday, December 7, 2016 8:32 PM, Madhusudan Ramanna
<[email protected]> wrote:
We're in the process of setting up Tez UI, and nothing is being logged to
timeline server and we see "no records available" in tez ui
We already have the following config in tez-site.xml
<property> <description>Enable Tez to use the Timeline Server for History
Logging</description> <name>tez.history.logging.service.class</name>
<value>org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService</value>
</property>
This is what we're seeing in logs >>>>>>>>>
2016-12-08 00:05:52,126 [INFO] [main] |history.HistoryEventHandler|:
Initializing HistoryEventHandler withrecoveryEnabled=true,
historyServiceClassName=org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
2016-12-08 00:05:52,135 [WARN] [main] |ats.ATSHistoryLoggingService|:
org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService is disabled due
to Timeline Service being disabled, yarn.timeline-service.enabled set to false
<<<<<<<<<
On Wednesday, December 7, 2016 8:02 PM, Jonathan Eagles <[email protected]>
wrote:
Adding to Gopal, this configuration can be found as part of the Tez UI setup
which has more information regarding the configuration and enablement of the
Tez UI that is powered from the data stored in the Timeline store.
http://tez.apache.org/tez-ui.html
Regards,jeagles
On Wed, Dec 7, 2016 at 9:44 PM, Gopal Vijayaraghavan <[email protected]> wrote:
> I'm at a loss to explain why Tez thinks that yarn.timeline-service. enabled
> is false and therefore is not logging to timeline server
That's the YARN timeline configs. Not the Tez one.
<property>
<name>tez.history.logging. service.class</name>
<value>org.apache.tez.dag. history.logging.impl.
SimpleHistoryLoggingService</ value>
<!-- enable ATS
<value>org.apache.tez.dag. history.logging.ats. ATSHistoryLoggingService</
value>
-->
</property>
Those are the 2 configs to disable/enable ATS usage in Tez.
Cheers,
Gopal