I am trying to load data using contrib/client_only/ClientOnlyExample.java to
write mutations using
StorageProxy.mutate().

When i run the ClientOnlyExample.class with write option against single node
server, it prints as if key has written, and shutting down the message
service, i had to kill the JVM (as documented)

When i try to read data using same key values, i am getting

19:54:01,618 DEBUG DatabaseDescriptor:213 - Syncing log with a period of
10000
19:54:01,624  INFO DatabaseDescriptor:229 - Auto DiskAccessMode determined
to be mmap
19:54:01,772 DEBUG DatabaseDescriptor:401 - setting autoBootstrap to false
19:54:02,292 DEBUG StorageProxy:347 - weakreadremote reading
SliceByNamesReadCommand(table='Keyspace1', key='key0',
columnParent='QueryPath(columnFamilyName='Standard1',
superColumnName='null', columnName='null')', columns=[636f6c62,])
Exception in thread "main" java.lang.RuntimeException:
UnavailableException()
at ClientOnlyExample.testReading(ClientOnlyExample.java:118)
at ClientOnlyExample.main(ClientOnlyExample.java:156)
Caused by: UnavailableException()
at
org.apache.cassandra.service.StorageService.findSuitableEndPoint(StorageService.java:1203)
at
org.apache.cassandra.service.StorageProxy.weakReadRemote(StorageProxy.java:354)
at
org.apache.cassandra.service.StorageProxy.readProtocol(StorageProxy.java:409)
at ClientOnlyExample.testReading(ClientOnlyExample.java:102)
... 1 more

How can i make sure that StorageProxy.mutate(List<RowMutation>) works fine?

-- 
Thanks,
Mubarak Seyed.

Reply via email to