THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Field meanings in responses:
- id: The identifier A string value that represents the identifier of the blocked task manager or node.
- action: The block action when a task manager/node is marked as blocked, An enum value(MARK_BLOCKED or MARK_BLOCKED_AND_EVACUATE_TASKS) that represents the block action when a task manager/node is marked as blocked.
- startTimestamp: The A long value that represents the unix timestamp of creating this item.
- endTimestamp: The A long value that represents the unix timestamp at which the item should be removeditem should be removed. If the blocked item is permanent, this value will be Long.MAX_VALUE(9223372036854775807).
- cause: The A string value that represents the cause for creating this itemblocking this task manager or node.
Add
POST: http://{jm_rest_address:port}/blocklist/nodes
...
Field meanings in requests:
- id: The identifier A string value that specifies the identifier of the blocked task manager or node.
- action: The block action when a task manager/node is marked as blocked, An enum value(MARK_BLOCKED or MARK_BLOCKED_AND_EVACUATE_TASKS) that specifies the block action when a task manager/node is marked as blocked.
- timeout(optional): The timestamp of creating this item.
- endTimestamp(optional): The timestamp at which the item should be removed.
- cause: The cause for creating this item.
...