As per conclusion in
YARN-2495, following error handling needs to be done
- Show/log diagnostic in RM (nodes) page and NM page, saying label is invalid. (Need modify web UI, can be done in a separated task)
- Make the node's labels to be empty, so that applications can continue use it.