开始cassandra的问题 [英] problem on starting cassandra
本文介绍了开始cassandra的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我下载apache-cassandra-0.8.5为ubuntu和解压缩it.I读自述文件。
我在shell中尝试命令:
bin / cassandra -f
但它说:
错误:代理抛出的异常:java.net.MalformedURLException:本地主机名
unknown: java.net.UnknownHostException:node24.nise.local:node24.nise.local
我该怎么办?
c> / etc / hosts 文件包含什么?也许可以在
127.0.0.1 上添加 localhost
和 node24.nise.local
/ code>行。
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?
解决方案 What does your /etc/hosts
file contain? Maybe add localhost
and node24.nise.local
as a name at the 127.0.0.1
line.
这篇关于开始cassandra的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文