1
votes

When I'm in the Cassandra CLI trying to make schema changes on a column family I get the exception:

update column family Stream with column_metadata = [{column_name: serverip, validation_class: UTF8Type, index_type:KEYS}, {column_name: streamconnectioncount, validation_class: IntegerType}];

"org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe"

What is the proper way to make schema changes on Cassandra?

1
what version of cassandra are you using. - samarth

1 Answers

0
votes

That is a proper way. Are other stuff working against your column family?

Broken pipe is usually an indication that Cassandra cannot be reached, although I haven't experienced this from the CLI myself.