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 18.104.22.168: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".