Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-4774

CapacityScheduler should work even if capacity-scheduler.xml is not in the classpath i.e with the code defaults

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • Reviewed

    Description

      If I try running capacity-scheduler without having capacity-scheduler.xml in my class path, the jobtracker fails with the following error

      Invalid initializater poller interval -1
      

      I feel the problem lies with the default value assigned to it in the code. The capacity-scheduler conf says the default is 5000.

      Attachments

        1. HADOOP-4774-3.patch
          5 kB
          Sreekanth Ramakrishnan
        2. HADOOP-4774-2.patch
          5 kB
          Sreekanth Ramakrishnan
        3. HADOOP-4774-1.patch
          5 kB
          Sreekanth Ramakrishnan

        Activity

          People

            sreekanth Sreekanth Ramakrishnan
            amar_kamat Amar Kamat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: