[
https://issues.apache.org/jira/browse/CASSANDRA-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012542#comment-13012542
]
Tey Kar Shiang commented on CASSANDRA-2401:
-------------------------------------------
Hi, nope.
It is a query for 4 columns.
I cheked that only 1 row has this problem (no column found), out of the 948
records returned; I skipped the row with zero columns.
In my stress-test, all rows have 4 columns; i.e. row is the file, the 4 columns
(index) are like its version, modified time, type, etc. I added all the columns
when added each file. The addition should be working since there is no such
exception on day 1, and I start and stop the stress tests until each users have
around 1500 files. Row with 0 column only found on the 4th day after I continue
to run it.
I will keep picking up cassandra logics, as I have little understanding about
how data loaded, stored and deleted. Any suggestion / guide on how I should go
on with my study is greatly appreciated. Thank you!
Btw, for this test, I have not yet going to 2 nodes / 3 nodes. It is only a
single-node cassandra runnning on my localhost.
> getColumnFamily() return null, which is not checked in ColumnFamilyStore.java
> scan() method, causing Timeout Exception in query
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-2401
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2401
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7.4
> Environment: Hector 0.7.0-28, Cassandra 0.7.4, Windows 7, Eclipse
> Reporter: Tey Kar Shiang
>
> ColumnFamilyStore.java, line near 1680, "ColumnFamily data =
> getColumnFamily(new QueryFilter(dk, path, firstFilter))", the data is
> returned null, causing NULL exception in "satisfies(data, clause, primary)"
> which is not captured. The callback got timeout and return a Timeout
> exception to Hector.
> The data is empty, as I traced, I have the the columns Count as 0 in
> removeDeletedCF(), which return the null there. (I am new and trying to
> understand the logics around still). Instead of crash to NULL, could we
> bypass the data?
> About my test:
> A stress-test program to add, modify and delete data to keyspace. I have 30
> threads simulate concurrent users to perform the actions above, and do a
> query to all rows periodically. I have Column Family with rows (as File) and
> columns as index (e.g. userID, fileType).
> No issue on the first day of test, and stopped for 3 days. I restart the test
> on 4th day, 1 of the users failed to query the files (timeout exception
> received). Most of the users are still okay with the query.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira