Versions Compared

Key

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

...

When trying to add a taskmanager or node, if the corresponding taskmanager/node already exists in blocklist, we propose to introduce two processing behaviors:

  1. Return error, the .The URL will be 
    1. POST: http://{jm_rest_address:port}/blocklist/nodes/<id>
    2. POST: http://{jm_rest_address:port}/blocklist/taskmanagers/<id>
  2. Merge. The newly added item and the existing item will be merged into one, the URL will be:
    1. POST: http://{jm_rest_address:port}/blocklist/nodes/<id>:merge
    2. POST: http://{jm_rest_address:port}/blocklist/taskmanagers/<id>:merge

...