Yeah, -r or --resolve-ip is what you're looking for. Cassandra's nodetool command is kind of wonky. Inconsistent across functions (e.g. sometimes 'keyspace.columnfamily' other times 'keyspace columnfamily', pay attention to the character between the items), doesn't resolve IPs by default (while standard linux commands require you to pass something like -n to not resolve names), so on and so forth.
When in doubt run nodetool without specifying a command and it'll list all of the available options (another example of wonkiness, the 'help' argument is not listed in this output) -Gene On Thu, Oct 8, 2015 at 7:01 AM, Paulo Motta <pauloricard...@gmail.com> wrote: > Have you tried using the -r or --resolve-ip option? > > 2015-10-07 19:59 GMT-07:00 Kevin Burton <bur...@spinn3r.com>: > >> I find it really frustrating that nodetool status doesn't include a >> hostname >> >> Makes it harder to track down problems. >> >> I realize it PRIMARILY uses the IP but perhaps cassandra.yml can include >> an optional 'hostname' parameter that can be set by the user. OR have the >> box itself include the hostname in gossip when it starts up. >> >> I realize that hostname wouldn't be authoritative and that the IP must >> still be shown but we could add another column for the hostname. >> >> -- >> >> We’re hiring if you know of any awesome Java Devops or Linux Operations >> Engineers! >> >> Founder/CEO Spinn3r.com >> Location: *San Francisco, CA* >> blog: http://burtonator.wordpress.com >> … or check out my Google+ profile >> <https://plus.google.com/102718274791889610666/posts> >> >> >