I answered this here: https://groups.google.com/forum/?fromgroups=#!topic/pycassa-discuss/9-GzSPEJqPU

You may want to check your subscription to the pycassa mailing list; it seems like you're not getting my responses for some reason.


On Tue, Feb 5, 2013 at 12:20 PM, Pradeep Kumar Mantha <pradeepm66@gmail.com> wrote:
Hi, 

I am trying to read fields using pycassa api. But seems like I am missing something and not getting expected results.

>>> pool = pycassa.ConnectionPool('usertable', server_list=['1.1.1.1'])
>>> cf = pycassa.ColumnFamily(pool, 'data')
>>> cf.get('7573657232323132333035343936323937363138343433')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/global/homes/p/pmantha/mypython_repo/lib/python2.7/site-packages/pycassa/columnfamily.py", line 655, in get
    raise NotFoundException()
pycassa.cassandra.ttypes.NotFoundException: NotFoundException(_message=None)


Whereas I can retrieve the same value using cqlsh.

> cqlsh 1.1.1.1 
cqlsh:usertable> use usertable;
cqlsh:usertable> select KEY from data where KEY='7573657232323132333035343936323937363138343433';
 KEY
------------------------------------------------
 7573657232323132333035343936323937363138343433

cqlsh:usertable> 



what should I do to get the field through pycassa API.

thanks
pradeep





--
Tyler Hobbs
DataStax