开始cassandra的问题 [英] problem on starting cassandra

查看:107
本文介绍了开始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屋!

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