Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4936

JobImpl uber checks for cpu are wrong

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: mrv2
    • Labels:
      None

      Description

      The cpu checks for uberizing have two issues:

      1. the defaults are hardcoded instead of using the conf defaults
      2. the comparison against the sys cpu size is using < instead of <=
          boolean smallCpu =
              (
                  Math.max(
                      conf.getInt(MRJobConfig.MAP_CPU_VCORES, 1), 
                      conf.getInt(MRJobConfig.REDUCE_CPU_VCORES, 1)) < 
                   sysCPUSizeForUberSlot
              );
      

      Everything is defaulting to 1, so uber cpu checks are now disabled causing TestUberAM to fail.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment