cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Alexander <>
Subject Handshake failed
Date Wed, 07 Apr 2010 20:15:50 GMT
Hey guys,

Excuse my noobishness here, we're working through the initial PoC phases of implementing Cassandra
here on one of our major systems we're building, and I'm having a few problems.

I'm running Cassandra 0.5.1 on Fedora 12 in a VM on OS X, with the network interface running
in bridged mode. I'm attempting to connect to it remotely from a separate Windows 7 workstation
via C#, and getting this in the Cassandra logs:

Debugger failed to attach: handshake failed - received >[two binary bits< - excepted

>From a code perspective, it's dying on the insert call:

            TTransport transport = new TSocket("", 8888);
            TProtocol protocol = new TBinaryProtocol(transport);
            Cassandra.Client client = new Cassandra.Client(protocol);

            Console.WriteLine("Opening connection...");

            System.Text.Encoding utf8Encoding = System.Text.Encoding.UTF8;

            long timeStamp = DateTime.Now.Millisecond;
            ColumnPath nameColumnPath = new ColumnPath()
                Column_family = "Standard1",
                Column = utf8Encoding.GetBytes("name")

            Console.WriteLine("Inserting name columns...");

            //Insert the data into the column 'name' 
                          utf8Encoding.GetBytes("Joe Bloggs"),

Am I doing something wrong here? ;)


View raw message