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

FifoScheduler web service rest API can print out invalid JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.2
    • mrv2
    • None

    Description

      running a GET on the scheduler web services rest api (RM:port/ws/cluster/scheduler) with the FifoScheduler configured with no nodemanagers up yet and it prints out invalid json of NaN for the used Capacity:

      {"scheduler":{"schedulerInfo":

      {"type":"fifoScheduler","capacity":1.0,"usedCapacity":NaN,"qstate":"RUNNING","minQueueMemoryCapacity":1024,"maxQueueMemoryCapacity":10240,"numNodes":0,"usedNodeCapacity":0,"availNodeCapacity":0,"totalNodeCapacity":0,"numContainers":0}

      }}

      Attachments

        1. MAPREDUCE-3680.patch
          3 kB
          AnilKumar B
        2. MAPREDUCE-3680-1.patch
          4 kB
          AnilKumar B

        Activity

          People

            Unassigned Unassigned
            tgraves Thomas Graves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: