Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-4216

Container logs not shown for newly assigned containers after NM recovery

    XMLWordPrintableJSON

Details

    Description

      Steps to reproduce

      1. Start 2 nodemanagers with NM recovery enabled
      2. Submit pi job with 20 maps
      3. Once 5 maps gets completed in NM 1 stop NM (yarn daemon stop nodemanager)
        (Logs of all completed container gets aggregated to HDFS)
      4. Now start the NM1 again and wait for job completion
        The newly assigned container logs on NM1 are not shown

      hdfs log dir state

      1. When logs are aggregated to HDFS during stop its with NAME (localhost_38153)
      2. On log aggregation after starting NM the newly assigned container logs gets uploaded with name (localhost_38153.tmp)

      History server the logs are now shown for new task attempts

      Attachments

        1. 0001-YARN-4216.patch
          10 kB
          Bibin Chundatt
        2. NMLog
          311 kB
          Bibin Chundatt
        3. ScreenshotFolder.png
          120 kB
          Bibin Chundatt
        4. yarn-site.xml
          3 kB
          Bibin Chundatt

        Activity

          People

            bibinchundatt Bibin Chundatt
            bibinchundatt Bibin Chundatt
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: