Taiwan Hadoop Forum
http://forum.hadoop.tw/

How to connect cassandra?
http://forum.hadoop.tw/viewtopic.php?f=11&t=38320
1 頁 (共 1 頁)

發表人:  kokilasoral [ 2016-05-31, 17:07 ]
文章主題 :  How to connect cassandra?

Tried to connect and create database in Cassandra. Though, when I try to read a Cassandra table data, I am getting:
"java.io.IOException: Failed to open frugality connection to Cassandra at 52.25.7.10:9160 at.... " error.
How to solve this?

發表人:  jazz [ 2016-06-03, 21:52 ]
文章主題 :  Re: How to connect cassandra?

kokilasoral 寫:
Tried to connect and create database in Cassandra. Though, when I try to read a Cassandra table data, I am getting:
"java.io.IOException: Failed to open frugality connection to Cassandra at 52.25.7.10:9160 at.... " error.
How to solve this?


According to your last question, you're running Cassandra DB on AWS.
Maybe you have to check the "Security Group" setting for your EC2 instance.
The default Security Group only allow network connection on port 22.
You need to add port 9160 for Cassandra DB in "Security Group".

- Jazz

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/