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

MiniYARNCluster is showing multiple Failed to instantiate default resource calculator warning messages.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha2
    • test, yarn
    • OSX, JUnit

    • Reviewed

    Description

      Whenever I try to start a MiniYARNCluster on Branch-2 (commit #0b61cca), I see multiple stack traces warning me that a resource calculator plugin could not be created

      (ResourceCalculatorPlugin.java:getResourceCalculatorPlugin(184)) - java.lang.UnsupportedOperationException: Could not determine OS: Failed to instantiate default resource calculator.
      java.lang.UnsupportedOperationException: Could not determine OS
      

      This is a minicluster. It doesn't need resource calculation. It certainly doesn't need test logs being cluttered with even more stack traces which will only generate false alarms about tests failing.

      There needs to be a way to turn this off, and the minicluster should have it that way by default.

      Being ruthless and marking as a blocker, because its a fairly major regression for anyone testing with the minicluster.

      Attachments

        1. YARN-4330.002.patch
          15 kB
          Varun Saxena
        2. YARN-4330.003.patch
          17 kB
          Varun Saxena
        3. YARN-4330.004.patch
          15 kB
          Varun Saxena
        4. YARN-4330.01.patch
          20 kB
          Varun Saxena

        Issue Links

          Activity

            People

              varun_saxena Varun Saxena
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: