If you pass an invalid datacenter to nodetool rebuild, you'll get an error like this:
Unfortunately, this is a rabbit hole of frustration if you are using caps for your DC names and you pass in a lowercase DC name, or you just typo the DC.
Let's do the following:
- Check the DC name that's passed in against the list of DCs we know about
- If we don't find it, let's output a reasonable error, and list all the DCs someone could put in.
- Ideally we indicate which keyspaces are set to replicate to this DC and which aren't