Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3453

Correct the downloaded ATS dag data location for analyzer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • None
    • Reviewed

    Description

      hadoop jar /usr/hdp/current/tez-client/tez-job-analyzer-*.jar CriticalPath --dagId=dag_1475171170456_0002_1 --outputDir=tmp/
      fails with

      INFO history.ATSImportTool: Using baseURL=http://headnodehost:8188/ws/v1/timeline, dagId=dag_1475171170456_0002_1, batchSize=100, downloadDir=tmp
      java.lang.IllegalArgumentException: Zipfile tmp/dag_1475171170456_0002_1/dag_1475171170456_0002_1.zip does not exist
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
      at org.apache.tez.history.parser.ATSFileParser.(ATSFileParser.java:65)
      at org.apache.tez.analyzer.plugins.TezAnalyzerBase.run(TezAnalyzerBase.java:169)
      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      at org.apache.tez.analyzer.plugins.CriticalPathAnalyzer.main(CriticalPathAnalyzer.java:653)

      The code is incorrectly expecting it to be in subfolder(dag_1475171170456_0002_1/dag_1475171170456_0002_1.zip). Moving the downloaded data location to the subfolder fixes the issue. This PR corrects the expected path.

      Attachments

        1. 16.patch
          2 kB
          Dharmesh Kakadia
        2. TEZ-3453.1.patch
          2 kB
          Dharmesh Kakadia

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dharmesh.kakadia Dharmesh Kakadia
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: