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

Unsafe cast to from long to int in DominantResourceCalculator.computeAvailableContainers()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • 3.1.0
    • None
    • scheduler
    • None

    Description

          long min = Long.MAX_VALUE;
          ...
          return min > Integer.MAX_VALUE ? Integer.MAX_VALUE : (int) min;
      

      Attachments

        Activity

          People

            templedf Daniel Templeton
            templedf Daniel Templeton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: