ColumnFamily - NotFoundException

61 views
Skip to first unread message

dmitri...@gmail.com

unread,
Dec 15, 2014, 12:02:53 PM12/15/14
to phpc...@googlegroups.com
$pool = new ConnectionPool($this->keyspace, $this->servers);
$column_family = new ColumnFamily($pool, 'tablename');

But have:
exception 'cassandra\NotFoundException' in /phpcassa/AbstractColumnFamily.php:200

At class AbstractColumnFamily:

After get:
$ks = $this->pool->describe_keyspace();

get many objects cassandra\CfDef Object, my collums families at keyspace, but not all... Why ?
$cf_def  are null, because not found ($cfdef->name == $this->column_family).

if "describe keyspace mykeyspace;" at cqlsh isset this column family 'tablename'.

Mukul Rastogi

unread,
Sep 9, 2015, 9:32:11 AM9/9/15
to phpcassa, dmitri...@gmail.com
Use Compact Storage while creating table/columnfamily. phpcassa and thrift protocol do not support non-compact tables.
Reply all
Reply to author
Forward
0 new messages