Details
Description
Currently, we don't provide any debugging info for decommissioning DN, it is difficult to determine which blocks are on their last replica. We have two design options:
- Add block info for blocks with low replication (configurable)
- Advantages:
- Initial debugging information would be more thorough
- Easier initial implementation
- Disadvantages:
- Add load to normal NN operation by checking every time a DN is decommissioned
- More difficult to add debugging information later on
- Advantages:
- Create a new api for querying more detailed info about one DN
- Advantages:
- We wouldnt be adding more load to the NN in normal operation
- Much easier to extend in the future with more info
- Disadvantages:
- Getting the info on demand for this case will be much more expensive actually, cause we will have to find all the blocks on that DN, and then go through all the blocks again and count how many replicas we have etc.
- Advantages: