启动cassandra的问题 [英] problem on starting cassandra

查看:33
本文介绍了启动cassandra的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为 ubuntu 下载了 apache-cassandra-0.8.5 并解压.我阅读了自述文件.我在 shell 中尝试以下命令:

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

但它说:错误:代理抛出的异常:java.net.MalformedURLException:本地主机名未知:java.net.UnknownHostException:node24.nise.local:node24.nise.local

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

我该怎么办?

推荐答案

你的 /etc/hosts 文件包含什么?可以在 127.0.0.1 行添加 localhostnode24.nise.local 作为名称.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆