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

Progress bars in Web UI always at 100% due to non-US locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.8.0, 3.0.0-alpha1
    • webapp
    • None

    Description

      In our cluster setup, the YARN web UI always shows progress bars at 100% (see screenshot, progress of the reduce step is roughly at 32.82%). I opened the HTML source code to check (also see screenshot), and it seems the problem is that it uses a comma as decimal mark, where most browsers expect a dot for floating-point numbers. This could possibly be due to localized number formatting being used in the wrong place, which would also explain why this bug is not always visible.

      Attachments

        1. YARN-2123-branch-2.7.001.patch
          15 kB
          Akira Ajisaka
        2. YARN-2123-004.patch
          17 kB
          Akira Ajisaka
        3. yarn-site-ajisaka.xml
          2 kB
          Akira Ajisaka
        4. fair-scheduler-ajisaka.xml
          0.7 kB
          Akira Ajisaka
        5. NaN_after_launching_RM.png
          66 kB
          Tsuyoshi Ozawa
        6. YARN-2123-003.patch
          12 kB
          Akira Ajisaka
        7. YARN-2123-002.patch
          10 kB
          Akira Ajisaka
        8. screenshot-noPatch.png
          151 kB
          Akira Ajisaka
        9. screenshot-patch.png
          157 kB
          Akira Ajisaka
        10. YARN-2123-001.patch
          12 kB
          Akira Ajisaka
        11. screenshot.png
          65 kB
          Johannes Simon

        Issue Links

          Activity

            People

              aajisaka Akira Ajisaka
              johannes.simon Johannes Simon
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: