Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Response:

Code Block
titleResponse Example
{
  /** This group only contains directly blocked task managers */
  "blockedTaskManagers": [
      {
          "id" : "container1",
          "action" : "MARK_BLOCKED",
          "startTimestamp" : "XXX1652313600000",
          "endTimestamp" : "XXX1652317200000",
          "cause" : "XXXNetwork error"
      },
      {
          "id" : "container2",
          "action" : "MARK_BLOCKED_AND_EVACUATE_TASKS",
          "startTimestamp" : "XXX1652315400000",
          "endTimestamp" : "XXX1652319000000",
          "cause" : "XXXNo space left on device"
      }, 
      ...
  ],
  "blockedNodes": [
      {
          "id" : "node1",
          "action" : "MARK_BLOCKED",
          "startTimestamp" : "XXX1652313600000",
          "endTimestamp" : "XXX1652317200000",
          "cause" : "XXXHot machine",
          /** The task managers on this blocked node */
          "taskManagers" : ["container3", "container4"]
      },
      ...
  ]
} 

...

Code Block
titleRequest
{
    [
        {
            "id" : "node1/container1",
            "action" : "MARK_BLOCKED",
            "timeout" : "XXX",
            "endTimestamp" : "XXX1652317200000",
            "cause" : "XXXHot machine",
        },
        {
            "id" : "node2/container2",
            "action" : "MARK_BLOCKED",
            "timeout" : "XXX3600000",
            "endTimestampcause" : "XXX",
            "cause" : "XXXHot machine",
        }, 
        ...
    ]
}

Response: {}

...