Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4904 YARN Log tooling enhancements
  3. YARN-5363

For AM containers, or for containers of running-apps, "yarn logs" incorrectly only (tries to) shows syslog file-type by default

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • log-aggregation
    • None

    Description

      For e.g, for a running application, the following happens:

      # yarn logs -applicationId application_1467838922593_0001
      16/07/06 22:07:05 INFO impl.TimelineClientImpl: Timeline service address: http://<TS-host-name>:8188/ws/v1/timeline/
      16/07/06 22:07:06 INFO client.RMProxy: Connecting to ResourceManager at <RM-host-name>/<RM-IP>:8050
      16/07/06 22:07:07 INFO impl.TimelineClientImpl: Timeline service address: http://<TS-host-name>l:8188/ws/v1/timeline/
      16/07/06 22:07:07 INFO client.RMProxy: Connecting to ResourceManager at <RM-host-name>/<RM-IP>:8050
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000001 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000002 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000003 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000004 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000005 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000006 within the application: application_1467838922593_0001
      Can not find any log file matching the pattern: [syslog] for the container: container_e03_1467838922593_0001_01_000007 within the application: application_1467838922593_0001
      Can not find the logs for the application: application_1467838922593_0001 with the appOwner: <app-owner>
      

      Attachments

        1. YARN-5363-2016-07-12.txt
          18 kB
          Vinod Kumar Vavilapalli
        2. YARN-5363-2016-07-13.txt
          17 kB
          Vinod Kumar Vavilapalli
        3. YARN-5363-2016-07-13.1.txt
          18 kB
          Vinod Kumar Vavilapalli

        Issue Links

          Activity

            People

              vinodkv Vinod Kumar Vavilapalli
              vinodkv Vinod Kumar Vavilapalli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: