You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "priya swaiin (JIRA)" <ji...@apache.org> on 2016/04/15 08:14:25 UTC
[jira] [Updated] (CASSANDRA-11581) Cassandra connection failed
[ https://issues.apache.org/jira/browse/CASSANDRA-11581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
priya swaiin updated CASSANDRA-11581:
-------------------------------------
Description:
I am not able to connect to cassandra which installed in VM.
Can anyone help me out to resolve the below issue ?
Cluster cluster = Cluster.Builder().AddContactPoint("127.0.0.1").Build();
Metadata metadata = cluster.Metadata;
ISession session = cluster.Connect();// ("demo");
session.Execute("insert into emp (emp_id,emp_name,emp_phone) values (6, 'suman','12345678' )");
Console.WriteLine("Save secess");
Console.Read();
was:
I am not able to connect to cassandra which installed in VM.
Can anyone help me out to resolve the below issue ?
Cluster cluster = Cluster.Builder().AddContactPoint("127.0.0.1").Build();
Metadata metadata = cluster.Metadata;
ISession session = cluster.Connect();// ("demo");
session.Execute("insert into emp (emp_id,emp_name,emp_phone) values (6, 'somu','12345678' )");
Console.WriteLine("Save secess");
Console.Read();
> Cassandra connection failed
> ---------------------------
>
> Key: CASSANDRA-11581
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11581
> Project: Cassandra
> Issue Type: Bug
> Reporter: priya swaiin
>
> I am not able to connect to cassandra which installed in VM.
> Can anyone help me out to resolve the below issue ?
> Cluster cluster = Cluster.Builder().AddContactPoint("127.0.0.1").Build();
> Metadata metadata = cluster.Metadata;
> ISession session = cluster.Connect();// ("demo");
> session.Execute("insert into emp (emp_id,emp_name,emp_phone) values (6, 'suman','12345678' )");
> Console.WriteLine("Save secess");
> Console.Read();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)