I am running into similar problems due to trying to use CounterColumns which are only supported through Hadoop with cassandra 0.8.3+. I have tried replacing the jars:
resources/cassandra/lib/apache-cassandra-0.8.1-brisk1-beta2.jar
resources/cassandra/lib/apache-cassandra-thrift-0.8.1-brisk1-beta2.jar
Tested by replacing with both 0.8.6 and 0.8.3. In both cases I did get the Pig demo (003) to run, but was unable to access my CounterColumns via Pig.
Most relevant error seems to be: Failed to read data from "cassandra://SiteStats/views"
Any ideas on what else I might need to upgrade. The next thing I am thinking of trying is rebuilding Brisk from source rather than just copying in the jars. Any tips?
Thanks for any help you can provide.
-Greg
More background info:
>describe keyspace SiteStats
Keyspace: SiteStats:
Replication Strategy: org.apache.cassandra.locator.SimpleStrategy
Durable Writes: true
Options: [replication_factor:1]
ColumnFamily: views
Key Validation Class: org.apache.cassandra.db.marshal.BytesType
Default column value validator: org.apache.cassandra.db.marshal.CounterColumnType
Columns sorted by: org.apache.cassandra.db.marshal.BytesType
Row cache size / save period in seconds: 0.0/0
Key cache size / save period in seconds: 200000.0/14400
Memtable thresholds: 0.0703125/1440/15 (millions of ops/minutes/MB)
GC grace seconds: 864000
Compaction min/max thresholds: 4/32
Read repair chance: 1.0
Replicate on write: false
Built indexes: []
Pig script:
views = LOAD 'cassandra://SiteStats/views' USING CassandraStorage() AS (name, columns: bag {T: tuple(cname, cnt)});
dump views;