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

Duplicate Job IDs in SLS output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.3.0, 3.2.1, 3.4.0
    • 3.4.0
    • I ran the attached inputs on my MacBook Pro, using Hadoop compiled from the latest trunk (as of commit 139a43e98e). I also tested against 3.2.1 and 3.3.0 release branches.

       

    • Reviewed

    Description

      Hello, I'm hoping someone can help me resolve or understand some issues I've been having with the YARN Scheduler Load Simulator (SLS). I've been experimenting with SLS for several months now at work as we're trying to build a simulation model to characterize our enterprise Hadoop infrastructure for purposes of future capacity planning. In the process of attempting to verify and validate the SLS output, I've encountered a number of issues including runtime exceptions and bad output. The focus of this issue is the bad output. In all my simulation runs, the jobruntime.csv output seems to have one or more of the following problems: no output, duplicate job ids, and/or missing job ids.

       

      Because of where I work, I'm unable to provide the exact inputs I typically use, but I'm able to reproduce the problem of the duplicate Job IDS using some simplified inputs and configuration files, which I've attached, along with the output I obtained.

       

      The command I used to run the simulation:

      ./runsls.sh --tracetype=SLS --tracelocation=./inputsls.json --output-dir=sls-run-1 --print-simulation --track-jobs=job_1,job_2,job_3,job_4,job_5,job_6,job_7,job_8,job_9,job_10

       

      Can anyone help me understand what would cause the duplicate Job IDs in the output? Is this a bug in Hadoop or a problem with my inputs? Thanks in advance.

       

      PS: This is my first issue I've ever opened so please be kind if I've missed something or am not understanding something obvious about the way Hadoop works. I'll gladly follow-up with more info as requested.

      Attachments

        1. fair-scheduler.xml
          2 kB
          Drew Merrill
        2. inputsls.json
          6 kB
          Drew Merrill
        3. jobruntime.csv
          1 kB
          Drew Merrill
        4. jobruntime.csv
          1 kB
          Drew Merrill
        5. mapred-site.xml
          0.9 kB
          Drew Merrill
        6. sls-runner.xml
          2 kB
          Drew Merrill
        7. YARN-10427.001.patch
          16 kB
          Szilard Nemeth
        8. YARN-10427.002.patch
          2 kB
          Szilard Nemeth
        9. YARN-10427.003.patch
          1 kB
          Szilard Nemeth
        10. YARN-10427.004.patch
          2 kB
          Szilard Nemeth
        11. YARN-10427-sls-scriptsandlogs.tar.gz
          4.49 MB
          Szilard Nemeth
        12. yarn-site.xml
          3 kB
          Drew Merrill

        Issue Links

          Activity

            People

              snemeth Szilard Nemeth
              werd.up Drew Merrill
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m