Details

    • Hadoop Flags:
      Reviewed

      Description

      YARN-4248 introduced the REST API for submit/update/delete Reservations. Class TestRMWebServicesReservation intends to test both FS and CS. The test cases designed for fair scheduler actually test capacity scheduler. The following code in method configureServlets shows it sets the scheduler to CS even test cases are for fair scheduler.

            conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
                ResourceScheduler.class);
            CapacitySchedulerConfiguration csconf =
                new CapacitySchedulerConfiguration(conf);
            String[] queues = { "default", "dedicated" };
            csconf.setQueues("root", queues);
            csconf.setCapacity("root.default", 50.0f);
            csconf.setCapacity("root.dedicated", 50.0f);
            csconf.setReservable("root.dedicated", true);
      

        Attachments

        1. YARN-7311.WIP.patch
          3 kB
          Yufei Gu
        2. YARN-7311.001.patch
          4 kB
          Yufei Gu
        3. YARN-7311.002.patch
          5 kB
          Yufei Gu

          Activity

            People

            • Assignee:
              yufeigu Yufei Gu
              Reporter:
              yufeigu Yufei Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: