I download apache-cassandra-0.8.5 for ubuntu and extract it.I read the readme file. I try bellow command in shell:
bin/cassandra -f
But it said: Error: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: node24.nise.local: node24.nise.local
what should I do?
Identify the problematic node. The first step in troubleshooting is to identify where the problem is. With the help of client logs, Cassandra logs, and other tools provided by Cassandra we have to identify if the problem is in client or any one node, or a subset of nodes.
What does your /etc/hosts
file contain? Maybe add localhost
and node24.nise.local
as a name at the 127.0.0.1
line.
Yes. It works once you add domain name in local host entry /etc/hosts
127.0.0.1 testdomain localhost.localdomain localhost
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With