Unable to see Queues

65 views
Skip to first unread message

silk

unread,
Dec 22, 2012, 4:22:05 AM12/22/12
to cmb-use...@googlegroups.com
Hi,

I have what I assume is a simple problem, most likely with Cassandra, however I am unsure how to debug it further. Whilst playing with the cassandra cluster (adding a node, then shutting it down) The API endpoints for CQS are now unable to display the Queues that have been created (both via the cqs GUI, and calls from a ruby script). Creating new queues appears to work (entries are created in Cassandra/CQS/CQSQueues, however they are still not returned to ListQueues.)

[default@CQS] LIST CQSQueues;
Using default limit of 100
Using default column limit of 100
-------------------
RowKey: 355970964474/TestQueue99
=> (column=arn, value=arn:cmb:cqs:ccp:355970964474:TestQueue99, timestamp=1356167766808007)
=> (column=createdTime, value=1356167766805, timestamp=1356167766808003)
=> (column=delaySeconds, value=0, timestamp=1356167766808009)
=> (column=hostName, value=http://192.168.64.141:8080, timestamp=1356167766808005)
=> (column=maxMsgSize, value=65536, timestamp=1356167766805000)
=> (column=msgRetentionPeriod, value=345600, timestamp=1356167766808001)
=> (column=name, value=TestQueue99, timestamp=1356167766808004)
=> (column=ownerUserId, value=355970964474, timestamp=1356167766808008)
=> (column=policy, value=, timestamp=1356167766808006)
=> (column=region, value=ccp, timestamp=1356167766808000)
=> (column=visibilityTO, value=30, timestamp=1356167766808002)

Both Cassandra nodes appear to be returning the same data when queried with LIST <keys>.

I have checked in redis, and there are no entries cached there.

I am under the impression that there are no entries being returned to cmb/cqs when querying Casandra.

Any pointers would be appreciated.

Regards,

mgh

silk

unread,
Dec 22, 2012, 4:24:16 AM12/22/12
to cmb-use...@googlegroups.com
Some additional information:

OS: Ubuntu 10.04
Tomcat: 7.0.34
Cassandra: 1.1.7
CQS/CNS Distribution: 2.2.11

boriwo

unread,
Dec 26, 2012, 3:10:15 PM12/26/12
to cmb-use...@googlegroups.com
I'm not clear what your problem is either but here are some things you could check:

- Did you check the log files (cmb.log etc.) for any error / warning messages?

- I noticed you said you are using Cassandra 1.1.7 and CMB 2.2.11. Cassandra 1.1.X is only really supported starting with the new 2.2.12 release of CMB (although this may not be the reason for your issues)

- The list queues API does not use redis (so nothing there is probably ok) but it submits a cql query to cassandra. You could try the following cql query using cqlsh to see if this works for you:

SELECT * from CQSQueues where ownerUserId = '355970964474'

- Note that if you are using Cassandra 1.1.X (as opposed to 1.0.X) you must run in 1.0 compatibility mode to ensure cql queries are backwards compatible

- Are you properly authenticating as user 355970964474 when submitting the list queues api?


 
Reply all
Reply to author
Forward
0 new messages