Integrating Knox with Tez v0.8.5

Last updated: 2021-07-05 10:03:56
  1. The path of the tez-ui file in Tez v0.8.5 is /usr/local/service/tomcat/webapps/tez-ui/scripts/configs.js, corresponding to configs.env in v0.9.2.
  2. Configure the yarn-site.xml file.
    Create a mkdir -p /usr/local/service/hadoop/filesystem/yarn/timeline directory.
    Parameter Value
    yarn.timeline-service.enabled true
    yarn.timeline-service.hostname 172.**.**.9
    yarn.timeline-service.http-cross-origin.enabled true
    yarn.resourcemanager.system-metrics-publisher.enabled true
    yarn.timeline-service.address 172.**.**.9:10201
    yarn.timeline-service.webapp.address 172.**.**.9:8188
    yarn.timeline-service.webapp.https.address 172.**.**.9:2191
    arn.timeline-service.generic-application-history.enabled true
    yarn.timeline-service.leveldb-timeline-store.path /usr/local/service/hadoop/filesystem/yarn/timeline
    yarn.timeline-service.handler-thread-count 24
  3. In the tez-site.xml file, configure the following parameters:
    Parameter Value
    tez.allow.disabled.timeline-domains true
    tez.history.logging.service.class org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
    tez.tez-ui.history-url.base http://172.**.**.9:2000/tez-ui/