[jira] [Comment Edited] (CASSANDRA-12805) Website documentation for commitlog
[ https://issues.apache.org/jira/browse/CASSANDRA-12805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964821#comment-15964821 ] Evan Prothro edited comment on CASSANDRA-12805 at 4/11/17 7:05 PM: --- LGTM in {{22acb00235ee081d3555cb1ff2780805e0268b07}}, thanks! was (Author: eprothro): LGTM in 22acb00235ee081d3555cb1ff2780805e0268b07, thanks! > Website documentation for commitlog > --- > > Key: CASSANDRA-12805 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12805 > Project: Cassandra > Issue Type: Improvement > Components: Documentation and Website >Reporter: Hau Phan >Assignee: Hau Phan >Priority: Minor > Labels: documentation > Attachments: 12805-trunk.txt > > > Updated Storage Engine page for commitlogs > Commit: > https://github.com/nothau/cassandra/commit/f90038e9f35281bdd58dabb25f21836a690e56f5 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (CASSANDRA-12805) Website documentation for commitlog
[ https://issues.apache.org/jira/browse/CASSANDRA-12805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964821#comment-15964821 ] Evan Prothro commented on CASSANDRA-12805: -- LGTM in 22acb00235ee081d3555cb1ff2780805e0268b07, thanks! > Website documentation for commitlog > --- > > Key: CASSANDRA-12805 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12805 > Project: Cassandra > Issue Type: Improvement > Components: Documentation and Website >Reporter: Hau Phan >Assignee: Hau Phan >Priority: Minor > Labels: documentation > Attachments: 12805-trunk.txt > > > Updated Storage Engine page for commitlogs > Commit: > https://github.com/nothau/cassandra/commit/f90038e9f35281bdd58dabb25f21836a690e56f5 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12804: - Description: Example: Clicking on a link in the table of contents at https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to https://cassandra.apache.org/doc/cql3/CQL.html#Preamble This ticket proposes changing the paths of legacy CQL.html files so they work, removing the textile source for this legacy doc (as it is replaced by the in-tree sphinx docs now), and updating the live docs to a sphinx build from 3.9. was: Example: Clicking on a link in the table of contents at https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to https://cassandra.apache.org/doc/cql3/CQL.html#Preamble This ticket proposes changing the paths of legacy CQL.html files so they work, and removing the textile source for this legacy doc, as it is replaced by the in-tree sphinx docs now. > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Minor > Labels: lhf > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > This ticket proposes changing the paths of legacy CQL.html files so they > work, removing the textile source for this legacy doc (as it is replaced by > the in-tree sphinx docs now), and updating the live docs to a sphinx build > from 3.9. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CASSANDRA-12881) Move SASI docs into sphinx docs
Evan Prothro created CASSANDRA-12881: Summary: Move SASI docs into sphinx docs Key: CASSANDRA-12881 URL: https://issues.apache.org/jira/browse/CASSANDRA-12881 Project: Cassandra Issue Type: Task Components: Documentation and Website Reporter: Evan Prothro Priority: Trivial Previous TODO in code regarding SASI docs: TODO: we should probably move the first half of that documentation to the general documentation, and the implementation explanation parts into the wiki. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12804: - Description: Example: Clicking on a link in the table of contents at https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to https://cassandra.apache.org/doc/cql3/CQL.html#Preamble This ticket proposes changing the paths of legacy CQL.html files so they work, and removing the textile source for this legacy doc, as it is replaced by the in-tree sphinx docs now. was: Example: Clicking on a link in the table of contents at https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to https://cassandra.apache.org/doc/cql3/CQL.html#Preamble Links in the body work. Table of contents link to the base file name (cql.html), but the html file is cql-[version].html) > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Minor > Labels: lhf > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > This ticket proposes changing the paths of legacy CQL.html files so they > work, and removing the textile source for this legacy doc, as it is replaced > by the in-tree sphinx docs now. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12805) Website documentation for commitlog
[ https://issues.apache.org/jira/browse/CASSANDRA-12805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15612291#comment-15612291 ] Evan Prothro commented on CASSANDRA-12805: -- I think it would be helpful to indicate the defaults for the properties as well. http://docs.datastax.com/en/cassandra/3.x/cassandra/configuration/configCassandra_yaml.html#configCassandra_yaml__PerformanceTuningProps Also, to add to [~rustyrazorblade]'s comment I would indicate that in periodic mode, they're flushed every period or when the commitlog size limit is reached. > Website documentation for commitlog > --- > > Key: CASSANDRA-12805 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12805 > Project: Cassandra > Issue Type: Improvement > Components: Documentation and Website >Reporter: Hau Phan >Priority: Minor > Labels: documentation > Attachments: 12805-trunk.txt > > > Updated Storage Engine page for commitlogs > Commit: > https://github.com/nothau/cassandra/commit/876d395b4188bb230f869a161c3d7fe317506b34 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589823#comment-15589823 ] Evan Prothro edited comment on CASSANDRA-12804 at 10/19/16 9:47 PM: I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from * /doc/cql3/ ** CQL-2.1.html ** CQL-2.2.html ** CQL-3.0.html ** CQL.css to * /doc/cql_2_1/ ** CQL.html ** CQL.css ** /doc/cql_2_2/ ** CQL.html ** CQL.css ** /doc/cql_3_0/ ** CQL.html ** CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/eprothro/cassandra/tree/12804-3.X This is my first patch attempt to Cassandra, apologies if I'm starting things off wrong. was (Author: eprothro): I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from * /doc/cql3/ ** CQL-2.1.html ** CQL-2.2.html ** CQL-3.0.html ** CQL.css to * /doc/cql_2_1/ ** CQL.html ** CQL.css ** /doc/cql_2_2/ ** CQL.html ** CQL.css ** /doc/cql_3_0/ ** CQL.html ** CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 (pull request only opened for easy view of diff) This is my first patch attempt to Cassandra, apologies if I'm starting things off wrong. > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Minor > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589823#comment-15589823 ] Evan Prothro edited comment on CASSANDRA-12804 at 10/19/16 9:16 PM: I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from * /doc/cql3/ ** CQL-2.1.html ** CQL-2.2.html ** CQL-3.0.html ** CQL.css to * /doc/cql_2_1/ ** CQL.html ** CQL.css ** /doc/cql_2_2/ ** CQL.html ** CQL.css ** /doc/cql_3_0/ ** CQL.html ** CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 (pull request only opened for easy view of diff) This is my first patch attempt to Cassandra, apologies if I'm starting things off wrong. was (Author: eprothro): I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from * /doc/cql3/ ** CQL-2.1.html ** CQL-2.2.html ** CQL-3.0.html ** CQL.css to * /doc/cql_2_1/ ** CQL.html ** CQL.css ** /doc/cql_2_2/ ** CQL.html ** CQL.css ** /doc/cql_3_0/ ** CQL.html ** CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Minor > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12804: - Priority: Minor (was: Trivial) > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Minor > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589823#comment-15589823 ] Evan Prothro edited comment on CASSANDRA-12804 at 10/19/16 9:02 PM: I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from * /doc/cql3/ ** CQL-2.1.html ** CQL-2.2.html ** CQL-3.0.html ** CQL.css to * /doc/cql_2_1/ ** CQL.html ** CQL.css ** /doc/cql_2_2/ ** CQL.html ** CQL.css ** /doc/cql_3_0/ ** CQL.html ** CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. was (Author: eprothro): I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from - /doc/cql3/ - CQL-2.1.html - CQL-2.2.html - CQL-3.0.html - CQL.css to - /doc/cql_2_1/ - CQL.html - CQL.css - /doc/cql_2_2/ - CQL.html - CQL.css - /doc/cql_3_0/ - CQL.html - CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589823#comment-15589823 ] Evan Prothro edited comment on CASSANDRA-12804 at 10/19/16 9:00 PM: I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? Finally, it appears that the website is manually updated on occasion (e.g. not automatically on a release). They are currently out of date at 3.7, and the CSS results in noticeable width and navigation issues that hurt usability. The latter problems are solved in the latest version of the sphinx theme (https://cl.ly/hpXw). What about the following? 1. Change directory structure for legacy cql.html files on web from - /doc/cql3/ - CQL-2.1.html - CQL-2.2.html - CQL-3.0.html - CQL.css to - /doc/cql_2_1/ - CQL.html - CQL.css - /doc/cql_2_2/ - CQL.html - CQL.css - /doc/cql_3_0/ - CQL.html - CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. was (Author: eprothro): I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. It appears that the website is manually updated on occasion. They are currently out of date at 3.7, and the CSS has noticeable width issues. What about the following? 1. Change directory structure for legacy cql.html files on web from - /doc/cql3/ - CQL-2.1.html - CQL-2.2.html - CQL-3.0.html - CQL.css to - /doc/cql_2_1/ - CQL.html - CQL.css - /doc/cql_2_2/ - CQL.html - CQL.css - /doc/cql_3_0/ - CQL.html - CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15589823#comment-15589823 ] Evan Prothro commented on CASSANDRA-12804: -- I've looked at it further and it appears the CQL spec content in the new sphinx docs is a good replacement for the legacy html doc (IMHO). The notable difference is that the old docs didn't include Queries as part of DML statements, the new docs lump Queries into DML statements. I personally prefer the former, but the difference is probably only semantic. It would also appear that removing the legacy docs has a side effect of the build no longer including the cql docs. Is that a problem? A stab at that removal: https://github.com/apache/cassandra/pull/77 This is my first PR to Cassandra, apologies if I'm doing it wrong. It appears that the website is manually updated on occasion. They are currently out of date at 3.7, and the CSS has noticeable width issues. What about the following? 1. Change directory structure for legacy cql.html files on web from - /doc/cql3/ - CQL-2.1.html - CQL-2.2.html - CQL-3.0.html - CQL.css to - /doc/cql_2_1/ - CQL.html - CQL.css - /doc/cql_2_2/ - CQL.html - CQL.css - /doc/cql_3_0/ - CQL.html - CQL.css 2. Generate newest sphinx docs from 3.9 branch and push to website * This updates to latest release doc content * This fixes the existing formatting issues 3. Remove cql.textile, et al in 3.X branch > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586010#comment-15586010 ] Evan Prothro commented on CASSANDRA-12804: -- It doesn't appear there's a way to generate relative TOC links: http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.mylyn.wikitext.help.ui%2Fhelp%2FTextile-Syntax.html&cp=48_2_4_1&anchor=TextileExtensions I assume we would need to shuffle things around to continue to support the CQL2, etc specifications anyway (they are broken as well). > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15585996#comment-15585996 ] Evan Prothro commented on CASSANDRA-12804: -- [~thobbs] Mentioned he wasn't sure why the textile doc was still around (e.g. it seems it's deprecated). Would yall be in favor of redirecting from CQL-3.0.html to the cql section in the new docs? https://cassandra.apache.org/doc/latest/cql/index.html If not, it seems we would either need to add more heirarchy to the gen-doc output, so cql.html stays cql.html and doesn't become cql-3.0.html, or figure out a way to specify textile to use relative urls to the anchors, rather than absolute urls. > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12804) CQL docs table of contents links are broken
[ https://issues.apache.org/jira/browse/CASSANDRA-12804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15585916#comment-15585916 ] Evan Prothro commented on CASSANDRA-12804: -- I was going to take a stab at fixing this, but wanted to check first -- is the CQL "spec" in /doc/cql3/CQL.textile deprecated in favor of the new RST docs, or will CQL.textile live on as a more 'formal spec' and RST is more 'developer docs'? > CQL docs table of contents links are broken > --- > > Key: CASSANDRA-12804 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website >Reporter: Evan Prothro >Priority: Trivial > > Example: Clicking on a link in the table of contents at > https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to > https://cassandra.apache.org/doc/cql3/CQL.html#Preamble > Links in the body work. > Table of contents link to the base file name (cql.html), but the html file is > cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CASSANDRA-12804) CQL docs table of contents links are broken
Evan Prothro created CASSANDRA-12804: Summary: CQL docs table of contents links are broken Key: CASSANDRA-12804 URL: https://issues.apache.org/jira/browse/CASSANDRA-12804 Project: Cassandra Issue Type: Bug Components: Documentation and Website Reporter: Evan Prothro Priority: Trivial Example: Clicking on a link in the table of contents at https://cassandra.apache.org/doc/cql3/CQL-3.0.html results in a 404 to https://cassandra.apache.org/doc/cql3/CQL.html#Preamble Links in the body work. Table of contents link to the base file name (cql.html), but the html file is cql-[version].html) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12582) Removing static column results in ReadFailure due to CorruptSSTableException
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15516892#comment-15516892 ] Evan Prothro commented on CASSANDRA-12582: -- [~Stefania] confirmed that your patch fixes the issue for me in both the reproduction script, as well as for our real-world use case. Thank you! > Removing static column results in ReadFailure due to CorruptSSTableException > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Components: Local Write-Read Paths > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro >Assignee: Stefania >Priority: Critical > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.x, 3.x > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(Storag
[jira] [Commented] (CASSANDRA-12582) Removing static column results in ReadFailure due to CorruptSSTableException
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506622#comment-15506622 ] Evan Prothro commented on CASSANDRA-12582: -- Just saw that 3.0.9 was released, so i guess ignore that question. Bummer that this didn't make it in. Is there a way to know when versions are planning on being released? Seems like theres a level of organizational conversation going on that I'm not aware of. > Removing static column results in ReadFailure due to CorruptSSTableException > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.10 > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(St
[jira] [Commented] (CASSANDRA-12582) Removing static column results in ReadFailure due to CorruptSSTableException
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506606#comment-15506606 ] Evan Prothro commented on CASSANDRA-12582: -- [~tjake] I don't want to speak out of turn, but it seems to me that this not getting attention in 3.0.9 will leave that build without a complete fix to the known issues dealing with static columns (other related issues linked above). Is there any way this can get attention in 3.0.9? > Removing static column results in ReadFailure due to CorruptSSTableException > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.10 > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalRead
[jira] [Commented] (CASSANDRA-12582) Removing static column results in ReadFailure due to CorruptSSTableException
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15471888#comment-15471888 ] Evan Prothro commented on CASSANDRA-12582: -- If there is anything else needed to reproduce or understand this issue, please let us know. We're eager to help however we can to try to get this fixed for 3.0.9 to complete all the fixes related to issues with static columns in this issue, CASSANDRA-11988 and CASSANDRA-12336. > Removing static column results in ReadFailure due to CorruptSSTableException > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunna
[jira] [Updated] (CASSANDRA-12582) Removing static column results in ReadFailure due to CorruptSSTableException
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Summary: Removing static column results in ReadFailure due to CorruptSSTableException (was: ReadFailure from CorruptSSTableException after static column removed) > Removing static column results in ReadFailure due to CorruptSSTableException > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: 12582.cdl 12582_reproduce.sh > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > Attachments: 12582.cdl, 12582_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io.sstable.Cor
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: (was: 309issue_reproduce.sh) > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: (was: 309issue.cdl) > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/dat
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: 309issue.cdl 309issue_reproduce.sh > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > Attachments: 309issue.cdl, 309issue_reproduce.sh > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: (was: 309issue_reproduce.sh) > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-
[jira] [Updated] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
[ https://issues.apache.org/jira/browse/CASSANDRA-12582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evan Prothro updated CASSANDRA-12582: - Attachment: (was: 309issue.cdl) > ReadFailure from CorruptSSTableException after static column removed > > > Key: CASSANDRA-12582 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 > Project: Cassandra > Issue Type: Bug > Environment: Cassandra 3.0.8 >Reporter: Evan Prothro > Labels: compaction, corruption, drop, read, static > Fix For: 3.0.9 > > > We ran into an issue on production where reads began to fail for certain > queries, depending on the range within the relation for those queries. > Cassandra system log showed an unhandled {{CorruptSSTableException}} > exception. > CQL read failure: > {code} > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > {code} > Cassandra exception: > {code} > WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: > org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [apache-cassandra-3.0.8.jar:3.0.8] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db > at > org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[apache-cassandra-3.0.8.jar:3.0.8] > ... 5 common frames omitted > Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: > Corrupted: > /usr/local/apache-cassandra-3.0.8/dat
[jira] [Created] (CASSANDRA-12582) ReadFailure from CorruptSSTableException after static column removed
Evan Prothro created CASSANDRA-12582: Summary: ReadFailure from CorruptSSTableException after static column removed Key: CASSANDRA-12582 URL: https://issues.apache.org/jira/browse/CASSANDRA-12582 Project: Cassandra Issue Type: Bug Environment: Cassandra 3.0.8 Reporter: Evan Prothro Fix For: 3.0.9 Attachments: 309issue.cdl, 309issue_reproduce.sh We ran into an issue on production where reads began to fail for certain queries, depending on the range within the relation for those queries. Cassandra system log showed an unhandled {{CorruptSSTableException}} exception. CQL read failure: {code} ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation failed - received 0 responses and 1 failures" info={'failures': 1, 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} {code} Cassandra exception: {code} WARN [SharedPool-Worker-2] 2016-08-31 12:49:27,979 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {} java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) ~[apache-cassandra-3.0.8.jar:3.0.8] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72] at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) [apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-3.0.8.jar:3.0.8] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db at org.apache.cassandra.io.sstable.format.big.BigTableScanner$KeyScanningIterator$1.initializeIterator(BigTableScanner.java:343) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.maybeInit(LazilyInitializedUnfilteredRowIterator.java:48) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:65) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.rows.LazilyInitializedUnfilteredRowIterator.isReverseOrder(LazilyInitializedUnfilteredRowIterator.java:66) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:62) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:134) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:127) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:123) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:65) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:289) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) ~[apache-cassandra-3.0.8.jar:3.0.8] ... 5 common frames omitted Caused by: org.apache.cassandra.io.sstable.CorruptSSTableException: Corrupted: /usr/local/apache-cassandra-3.0.8/data/data/issue309/apples_by_tree-006748a06fa311e6a7f8ef8b642e977b/mb-1-big-Data.db at org.apache.cassandra.db.columniterator.AbstractSSTableIterator.(AbstractSSTableIterator.java:130) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.db.columniterator.SSTableIterator.(SSTableIterator.java:46) ~[apache-cassandra-3.0.8.jar:3.0.8] at org.apache.cassandra.io.sstable.format.big.BigTableRead
[jira] [Comment Edited] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
[ https://issues.apache.org/jira/browse/CASSANDRA-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399808#comment-15399808 ] Evan Prothro edited comment on CASSANDRA-12336 at 7/29/16 6:23 PM: --- [~dannyantonetti] have you tried using {{sstabledump}} to inspect your data? http://www.datastax.com/dev/blog/debugging-sstables-in-3-0-with-sstabledump was (Author: eprothro): [~dannyantonetti] have you tried using {{sstabledump}} to inspect your data? http://www.datastax.com/dev/blog/debugging-sstables-in-3-0-with-sstabledump It might help if you explain what you are doing and what exception you are seeing where and when. > NullPointerException during compaction on table with static columns > --- > > Key: CASSANDRA-12336 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12336 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: cqlsh 5.0.1 > Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0) >Reporter: Evan Prothro >Assignee: Sylvain Lebresne > Fix For: 3.0.9 > > > After being affected by > https://issues.apache.org/jira/browse/CASSANDRA-11988, we built a5cbb0. > Compaction still fails with the following trace: > {code} > WARN [SharedPool-Worker-2] 2016-07-28 10:51:56,111 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: java.lang.NullPointerException > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[main/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[main/:na] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [main/:na] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [main/:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: java.lang.NullPointerException: null > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460) > ~[main/:na] > at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) > ~[main/:na] > at > org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438) > ~[main/:na] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[main/:na] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:138) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:134) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[main/:na] > ... 5 common frames omitted > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
[ https://issues.apache.org/jira/browse/CASSANDRA-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399808#comment-15399808 ] Evan Prothro commented on CASSANDRA-12336: -- [~dannyantonetti] have you tried using {{sstabledump}} to inspect your data? http://www.datastax.com/dev/blog/debugging-sstables-in-3-0-with-sstabledump It might help if you explain what you are doing and what exception you are seeing where and when. > NullPointerException during compaction on table with static columns > --- > > Key: CASSANDRA-12336 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12336 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: cqlsh 5.0.1 > Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0) >Reporter: Evan Prothro >Assignee: Sylvain Lebresne > Fix For: 3.0.9 > > > After being affected by > https://issues.apache.org/jira/browse/CASSANDRA-11988, we built a5cbb0. > Compaction still fails with the following trace: > {code} > WARN [SharedPool-Worker-2] 2016-07-28 10:51:56,111 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: java.lang.NullPointerException > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[main/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[main/:na] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [main/:na] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [main/:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: java.lang.NullPointerException: null > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460) > ~[main/:na] > at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) > ~[main/:na] > at > org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438) > ~[main/:na] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[main/:na] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:138) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:134) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[main/:na] > ... 5 common frames omitted > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
[ https://issues.apache.org/jira/browse/CASSANDRA-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399380#comment-15399380 ] Evan Prothro commented on CASSANDRA-12336: -- Confirmed that patch [12336-3.0|https://github.com/pcmanus/cassandra/commits/12336-3.0] fixes this issue for us. Both manual and triggered-from-read compaction work without error. > NullPointerException during compaction on table with static columns > --- > > Key: CASSANDRA-12336 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12336 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: cqlsh 5.0.1 > Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0) >Reporter: Evan Prothro >Assignee: Sylvain Lebresne > Fix For: 3.0.9 > > > After being affected by > https://issues.apache.org/jira/browse/CASSANDRA-11988, we built a5cbb0. > Compaction still fails with the following trace: > {code} > WARN [SharedPool-Worker-2] 2016-07-28 10:51:56,111 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: java.lang.NullPointerException > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[main/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[main/:na] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [main/:na] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [main/:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: java.lang.NullPointerException: null > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460) > ~[main/:na] > at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) > ~[main/:na] > at > org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438) > ~[main/:na] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[main/:na] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:138) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:134) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[main/:na] > ... 5 common frames omitted > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398356#comment-15398356 ] Evan Prothro edited comment on CASSANDRA-12215 at 7/28/16 10:44 PM: [~dannyantonetti] that doesn't appear to be the exact same stack trace as CASSANDRA-11988 as far as I can tell. You can download the latest source from https://github.com/apache/cassandra/tree/cassandra-3.0, or in your case https://github.com/apache/cassandra/tree/cassandra-3.9. Install ant, and build by executing {{ant}} within the unzipped directory. Then use {{/bin/cassandra}} and {{/bin/cqlsh}} as usual. Per [tick/tock|http://www.planetcassandra.org/blog/cassandra-2-2-3-0-and-beyond/] convention, both 3.0.9 and 3.9 branches include the fix for CASSANDRA-11988. was (Author: eprothro): [~dannyantonetti] that doesn't appear to be the exact same stack trace as CASSANDRA-11988 as far as I can tell. You can download the latest source from https://github.com/apache/cassandra/tree/cassandra-3.0, or in your case https://github.com/apache/cassandra/tree/cassandra-3.9. Install ant, and build by executing `ant` within the unzipped directory. Then use `/bin/cassandra` and `/bin/cqlsh` per usual. Per [tick/tock|http://www.planetcassandra.org/blog/cassandra-2-2-3-0-and-beyond/] convention, both 3.0.9 and 3.9 branches include the fix for CASSANDRA-11988. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.p
[jira] [Commented] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15398356#comment-15398356 ] Evan Prothro commented on CASSANDRA-12215: -- [~dannyantonetti] that doesn't appear to be the exact same stack trace as CASSANDRA-11988 as far as I can tell. You can download the latest source from https://github.com/apache/cassandra/tree/cassandra-3.0, or in your case https://github.com/apache/cassandra/tree/cassandra-3.9. Install ant, and build by executing `ant` within the unzipped directory. Then use `/bin/cassandra` and `/bin/cqlsh` per usual. Per [tick/tock|http://www.planetcassandra.org/blog/cassandra-2-2-3-0-and-beyond/] convention, both 3.0.9 and 3.9 branches include the fix for CASSANDRA-11988. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.
[jira] [Commented] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397829#comment-15397829 ] Evan Prothro commented on CASSANDRA-12215: -- done, thanks. https://issues.apache.org/jira/browse/CASSANDRA-12336 > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > at > org.apache.cassandra.db.compaction.CompactionManager$8.runMayThrow(CompactionManager.java:606) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$W
[jira] [Commented] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
[ https://issues.apache.org/jira/browse/CASSANDRA-12336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397828#comment-15397828 ] Evan Prothro commented on CASSANDRA-12336: -- Currently we're working around this by effectively disabling compaction with an extremely high value for `gc_grace_seconds` on tables with static fields. Clearly the shorter we have to live with that workaround the less nervous we are. Please don't hesitate to let us know anything we can do to help isolate or reproduce. We can provide an sstable and schema that should reproduce. Reply > NullPointerException during compaction on table with static columns > --- > > Key: CASSANDRA-12336 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12336 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: cqlsh 5.0.1 > Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0) >Reporter: Evan Prothro > Fix For: 3.0.9 > > > After being affected by > https://issues.apache.org/jira/browse/CASSANDRA-11988, we built a5cbb0. > Compaction still fails with the following trace: > {code} > WARN [SharedPool-Worker-2] 2016-07-28 10:51:56,111 > AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread > Thread[SharedPool-Worker-2,5,main]: {} > java.lang.RuntimeException: java.lang.NullPointerException > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) > ~[main/:na] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_72] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) > ~[main/:na] > at > org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) > [main/:na] > at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) > [main/:na] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] > Caused by: java.lang.NullPointerException: null > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460) > ~[main/:na] > at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) > ~[main/:na] > at > org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) > ~[main/:na] > at > org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438) > ~[main/:na] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[main/:na] > at > org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:138) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:134) > ~[main/:na] > at > org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) > ~[main/:na] > at > org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) > ~[main/:na] > at > org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) > ~[main/:na] > ... 5 common frames omitted > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CASSANDRA-12336) NullPointerException during compaction on table with static columns
Evan Prothro created CASSANDRA-12336: Summary: NullPointerException during compaction on table with static columns Key: CASSANDRA-12336 URL: https://issues.apache.org/jira/browse/CASSANDRA-12336 Project: Cassandra Issue Type: Bug Components: Compaction Environment: cqlsh 5.0.1 Cassandra 3.0.8-SNAPSHOT (3.0.x dev - a5cbb0) Reporter: Evan Prothro Fix For: 3.0.9 After being affected by https://issues.apache.org/jira/browse/CASSANDRA-11988, we built a5cbb0. Compaction still fails with the following trace: {code} WARN [SharedPool-Worker-2] 2016-07-28 10:51:56,111 AbstractLocalAwareExecutorService.java:169 - Uncaught exception on thread Thread[SharedPool-Worker-2,5,main]: {} java.lang.RuntimeException: java.lang.NullPointerException at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2453) ~[main/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_72] at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$FutureTask.run(AbstractLocalAwareExecutorService.java:164) ~[main/:na] at org.apache.cassandra.concurrent.AbstractLocalAwareExecutorService$LocalSessionFutureTask.run(AbstractLocalAwareExecutorService.java:136) [main/:na] at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [main/:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72] Caused by: java.lang.NullPointerException: null at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToRow(ReadCommand.java:466) ~[main/:na] at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToStatic(ReadCommand.java:460) ~[main/:na] at org.apache.cassandra.db.transform.BaseRows.add(BaseRows.java:105) ~[main/:na] at org.apache.cassandra.db.transform.UnfilteredRows.add(UnfilteredRows.java:41) ~[main/:na] at org.apache.cassandra.db.transform.Transformation.add(Transformation.java:156) ~[main/:na] at org.apache.cassandra.db.transform.Transformation.apply(Transformation.java:122) ~[main/:na] at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:454) ~[main/:na] at org.apache.cassandra.db.ReadCommand$1MetricRecording.applyToPartition(ReadCommand.java:438) ~[main/:na] at org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) ~[main/:na] at org.apache.cassandra.db.partitions.UnfilteredPartitionIterators$Serializer.serialize(UnfilteredPartitionIterators.java:295) ~[main/:na] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.build(ReadResponse.java:145) ~[main/:na] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:138) ~[main/:na] at org.apache.cassandra.db.ReadResponse$LocalDataResponse.(ReadResponse.java:134) ~[main/:na] at org.apache.cassandra.db.ReadResponse.createDataResponse(ReadResponse.java:76) ~[main/:na] at org.apache.cassandra.db.ReadCommand.createResponse(ReadCommand.java:320) ~[main/:na] at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:1796) ~[main/:na] at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:2449) ~[main/:na] ... 5 common frames omitted {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-11988) NullPointerExpception when reading/compacting table
[ https://issues.apache.org/jira/browse/CASSANDRA-11988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397598#comment-15397598 ] Evan Prothro commented on CASSANDRA-11988: -- I'm with Hau. We're eager to see this resolved in 3.0.9 if at all possible. To be clear, the current patch does not fix the issue for us, compaction still fails. Currently we're working around this by effectively disabling compaction with an extremely high value for `gc_grace_seconds` on tables with static fields. Clearly the shorter we have to live with that workaround the less nervous we are. Please don't hesitate to let us know anything we can do to help isolate or reproduce. As Hau mentioned, we can provide an sstable and schema that should reproduce. > NullPointerExpception when reading/compacting table > --- > > Key: CASSANDRA-11988 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11988 > Project: Cassandra > Issue Type: Bug >Reporter: Nimi Wariboko Jr. >Assignee: Sylvain Lebresne > Fix For: 3.0.9, 3.9 > > > I have a table that suddenly refuses to be read or compacted. Issuing a read > on the table causes a NPE. > On compaction, it returns the error > {code} > ERROR [CompactionExecutor:6] 2016-06-09 17:10:15,724 CassandraDaemon.java:213 > - Exception in thread Thread[CompactionExecutor:6,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:38) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:76) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:182) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:82) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.6.jar:3.6] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:264) > ~[apache-cassandra-3.6.jar:3.6] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_45] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_45] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_45] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_45] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45] > {code} > Schema: > {code} > CREATE TABLE cmpayments.report_payments ( > reportid timeuuid, > userid timeuuid, > adjustedearnings decimal, > deleted set static, > earnings map, > gross map, > organizationid text, > payall timestamp static, > status text, > PRIMARY KEY (reportid, userid) > ) WITH CLUSTERING ORDER BY (userid ASC) > AND bloom_filter_fp_chance = 0.01 > AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND comment = '' > AND compaction = {'class': > 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', > 'max_threshold': '32', 'min_threshold': '4'} > AND compression = {'chunk_length_in_kb': '64', 'class': > 'org.apache.cassandra.io.compress.LZ4Compressor'} > AND crc_check_chance = 1.0 > AND dclocal_read_repair_chance = 0.1 > AND default_time_to_live = 0 > AND gc_grace_seconds = 864000 > AND max_index_interval = 2048 > AND memtable_flush_period_in_ms = 0 > AND min_index_interval = 128 > AND read_repair_chance = 0.0 > AND speculative_retry = '99PERCENTILE'; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397581#comment-15397581 ] Evan Prothro edited comment on CASSANDRA-12215 at 7/28/16 2:20 PM: --- I'm with Hau. We're eager to see this resolved in 3.0.9 if at all possible. Currently we're working around this by effectively disabling compaction with an extremely high value for `gc_grace_seconds` on tables with static fields. Clearly the shorter we have to live with that workaround the less nervous we are. Please don't hesitate to let us know anything we can do to help isolate or reproduce. As Hau mentioned, we can provide an sstable and schema that should reproduce. was (Author: eprothro): I'm with Hau. We're eager to see this resolved in 3.0.9 if at all possible. Currently we're working around this by effectively disabling compaction with an extremely high value for `gc_grace_seconds` on tables with static fields. Clearly the shorter we have to live with that workaround the less nervous we are. Please don't hesitate to let us know anything we can do to help isolate or reproduce. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) >
[jira] [Commented] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397581#comment-15397581 ] Evan Prothro commented on CASSANDRA-12215: -- I'm with Hau. We're eager to see this resolved in 3.0.9 if at all possible. Currently we're working around this by effectively disabling compaction with an extremely high value for `gc_grace_seconds` on tables with static fields. Clearly the shorter we have to live with that workaround the less nervous we are. Please don't hesitate to let us know anything we can do to help isolate or reproduce. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > at > org.apache.cassandra.db.compaction.CompactionManager$8.runMayThrow(CompactionManager.java:606) > at > org.apache.cassandra.utils.WrappedRunna
[jira] [Comment Edited] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386589#comment-15386589 ] Evan Prothro edited comment on CASSANDRA-12215 at 7/20/16 8:50 PM: --- Hau's comment seems related in our minds, since similarly, if we copy to / drop table and delete the data directory from the filesystem / recreate table / copy from and then set gc_grace_seconds to something small, running compaction results in a crash again. Stranger still, if we copy to / drop table and delete the data directory from the filesystem / create a different keyspace / create a differently named table with same schema (with static column) / copy from, and then set gc_grace_seconds to ensure a compaction, running compaction still results in a crash. However, when we copy to / drop table and delete the data directory from the filesystem / recreate table with different schema (same but with no static column) / copy from and then set gc_grace_seconds to something small, we see no tombstones, and compaction runs successfully. We have various other anecdotal experiments, but hesitate to expound just yet for fear of confusion. Please let us know if there's something further we can look at or result we can provide to help isolate this. was (Author: eprothro): Hau's comment seems related in our minds, since similarly, if we copy to / clear / recreate table / copy from and then set gc_grace_seconds to something small, running compaction results in a crash again. Stranger still, if we copy to / clear / create a different keyspace / create a differently named table with same schema (with static column) / copy from, and then set gc_grace_seconds to ensure a compaction, running compaction still results in a crash. However, when we copy to / clear / recreate table with different schema (same but with no static column) / copy from and then set gc_grace_seconds to something small, we see no tombstones, and compaction runs successfully. We have various other anecdotal experiments, but hesitate to expound just yet for fear of confusion. Please let us know if there's something further we can look at or result we can provide to help isolate this. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.conc
[jira] [Commented] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386589#comment-15386589 ] Evan Prothro commented on CASSANDRA-12215: -- Hau's comment seems related in our minds, since similarly, if we copy to / clear / recreate table / copy from and then set gc_grace_seconds to something small, running compaction results in a crash again. Stranger still, if we copy to / clear / create a different keyspace / create a differently named table with same schema (with static column) / copy from, and then set gc_grace_seconds to ensure a compaction, running compaction still results in a crash. However, when we copy to / clear / recreate table with different schema (same but with no static column) / copy from and then set gc_grace_seconds to something small, we see no tombstones, and compaction runs successfully. We have various other anecdotal experiments, but hesitate to expound just yet for fear of confusion. Please let us know if there's something further we can look at or result we can provide to help isolate this. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > at > org.apache.cassandra.db.compaction.CompactionTask.ru
[jira] [Comment Edited] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386006#comment-15386006 ] Evan Prothro edited comment on CASSANDRA-12215 at 7/20/16 3:16 PM: --- Tyler and Philip, I was looking at the changes to labels and summaries that y'all made and wanted to clarify a bit: This is not only a failure in cqlsh. When we get in this state (something related to compacting tombstoned data with static columns), * Reads for certain partitions fail through the native protocol (e.g. not just cqlsh), with the same error * Manual and automated compaction jobs fail Hau is going to update this ticket with more information later; currently we're doing the ops and backend work to abandon the use of static columns, which seems to be an effective workaround so that we can move forward with development. Once we're stable again, we'll do our best to work with y'all to reproduce. was (Author: eprothro): Tyler and Philip, I was looking at the changes to labels and summaries that y'all made and wanted to clarify a bit: This is not only a failure in cqlsh. When we get in this state (something related to compacting tombstoned data with static columns), * Reads for certain partitions fail through the native protocol (e.g. not just cqlsh), with the same error (we're using the ruby driver) * Manual and automated compaction jobs fail Hau is going to update this ticket with more information later; currently we're doing the ops and backend work to abandon the use of static columns, which seems to be an effective workaround so that we can move forward with development. Once we're stable again, we'll do our best to work with y'all to reproduce. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets:
[jira] [Comment Edited] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386006#comment-15386006 ] Evan Prothro edited comment on CASSANDRA-12215 at 7/20/16 3:16 PM: --- Tyler and Philip, I was looking at the changes to labels and summaries that y'all made and wanted to clarify a bit: This is not only a failure in cqlsh. When we get in this state (something related to compacting tombstoned data with static columns), * Reads for certain partitions fail through the native protocol (e.g. not just cqlsh), with the same error (we're using the ruby driver) * Manual and automated compaction jobs fail Hau is going to update this ticket with more information later; currently we're doing the ops and backend work to abandon the use of static columns, which seems to be an effective workaround so that we can move forward with development. Once we're stable again, we'll do our best to work with y'all to reproduce. was (Author: eprothro): Tyler and Philip, I was looking at the changes to labels and summaries that y'all made and wanted to clarify a bit: This is not only a failure in cqlsh. When we get in this state (something related to compacting tombstoned data with static columns), * Reads for certain partitions fail through the native protocol as well (we're using the ruby driver) * Compaction jobs fail Hau is going to update this ticket with more information later; currently we're doing the ops and backend work to abandon the use of static columns, which seems to be an effective workaround so that we can move forward with development. Once we're stable again, we'll do our best to work with y'all to reproduce. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact >
[jira] [Commented] (CASSANDRA-12215) NullPointerException during Compaction
[ https://issues.apache.org/jira/browse/CASSANDRA-12215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15386006#comment-15386006 ] Evan Prothro commented on CASSANDRA-12215: -- Tyler and Philip, I was looking at the changes to labels and summaries that y'all made and wanted to clarify a bit: This is not only a failure in cqlsh. When we get in this state (something related to compacting tombstoned data with static columns), * Reads for certain partitions fail through the native protocol as well (we're using the ruby driver) * Compaction jobs fail Hau is going to update this ticket with more information later; currently we're doing the ops and backend work to abandon the use of static columns, which seems to be an effective workaround so that we can move forward with development. Once we're stable again, we'll do our best to work with y'all to reproduce. > NullPointerException during Compaction > -- > > Key: CASSANDRA-12215 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12215 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: Cassandra 3.0.8, cqlsh 5.0.1 >Reporter: Hau Phan > Fix For: 3.0.x > > > Running 3.0.8 on a single standalone node with cqlsh 5.0.1, the keyspace RF = > 1 and class SimpleStrategy. > Attempting to run a 'select * from ' and receiving this error: > ReadFailure: code=1300 [Replica(s) failed to execute read] message="Operation > failed - received 0 responses and 1 failures" info={'failures': 1, > 'received_responses': 0, 'required_responses': 1, 'consistency': 'ONE'} > Cassandra system.log prints this: > {code} > ERROR [CompactionExecutor:5] 2016-07-15 13:42:13,219 CassandraDaemon.java:201 > - Exception in thread Thread[CompactionExecutor:5,1,main] > java.lang.NullPointerException: null > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:78) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionCandidate.run(CompactionManager.java:263) > ~[apache-cassandra-3.0.8.jar:3.0.8] > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_65] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > ~[na:1.8.0_65] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [na:1.8.0_65] > at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65] > {code} > Doing a sstabledump -d shows a few rows with the column value of > "", telling me compaction doesn't seem to be working correctly. > # nodetool compactionstats > pending tasks: 1 > attempting to run a compaction gets: > # nodetool compact > error: null > -- StackTrace -- > java.lang.NullPointerException > at > org.apache.cassandra.db.transform.UnfilteredRows.isEmpty(UnfilteredRows.java:58) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:64) > at > org.apache.cassandra.db.partitions.PurgeFunction.applyToPartition(PurgeFunction.java:24) > at > org.apache.cassandra.db.transform.BasePartitions.hasNext(BasePartitions.java:96) > at > org.apache.cassandra.db.compaction.CompactionIterator.hasNext(CompactionIterator.java:226) > at > org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:177) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > org.apache.cassandra.db.compaction.CompactionTask.executeInternal(C
[jira] [Comment Edited] (CASSANDRA-5870) CQLSH not showing milliseconds in timestamps
[ https://issues.apache.org/jira/browse/CASSANDRA-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239299#comment-15239299 ] Evan Prothro edited comment on CASSANDRA-5870 at 4/13/16 2:09 PM: -- Thanks for the update, Tyler! was (Author: eprothro): Fixed in 10428. > CQLSH not showing milliseconds in timestamps > > > Key: CASSANDRA-5870 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5870 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: Linux >Reporter: Ben Boule >Priority: Minor > Fix For: 1.2.9 > > > CQLSH does not include the milliseconds portion of the timestamp when > outputting query results. For example on my system a time might be displayed > like this: > "2013-08-09 10:55:58-0400" for a time stored in cassandra as: 1376060158267 > We've found this extremely annoying when dealing with time series data as it > will make records which occurred at different times appear to occur at the > same time. > I'm submitting a patch, the existing formatting code already has handling of > some versions of python which do not support formatting time zones, I'm not > sure which versions of python can format seconds+milliseconds so I attempted > to supply something which will work with any time_format string and does not > depend on the system library. > The above time with the patch will format like this: > "2013-08-09 10:55:58.267-0400" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-5870) CQLSH not showing milliseconds in timestamps
[ https://issues.apache.org/jira/browse/CASSANDRA-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239299#comment-15239299 ] Evan Prothro commented on CASSANDRA-5870: - Fixed in 10428. > CQLSH not showing milliseconds in timestamps > > > Key: CASSANDRA-5870 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5870 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: Linux >Reporter: Ben Boule >Priority: Minor > Fix For: 1.2.9 > > > CQLSH does not include the milliseconds portion of the timestamp when > outputting query results. For example on my system a time might be displayed > like this: > "2013-08-09 10:55:58-0400" for a time stored in cassandra as: 1376060158267 > We've found this extremely annoying when dealing with time series data as it > will make records which occurred at different times appear to occur at the > same time. > I'm submitting a patch, the existing formatting code already has handling of > some versions of python which do not support formatting time zones, I'm not > sure which versions of python can format seconds+milliseconds so I attempted > to supply something which will work with any time_format string and does not > depend on the system library. > The above time with the patch will format like this: > "2013-08-09 10:55:58.267-0400" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CASSANDRA-5870) CQLSH not showing milliseconds in timestamps
[ https://issues.apache.org/jira/browse/CASSANDRA-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237895#comment-15237895 ] Evan Prothro commented on CASSANDRA-5870: - It's surprising to me that this is marked as "won't fix" when time series data is a key application for Cassandra. More alarming perhaps is to learn that COPY doesn't support fractional seconds... Could we possibly get more information on why this issue won't be fixed? We've lost quite a few dev hours due to this bug (I say it is a bug since the documentation for cqlshrc `time_format` options says it supports Python directives, but it does not support `%f`. > CQLSH not showing milliseconds in timestamps > > > Key: CASSANDRA-5870 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5870 > Project: Cassandra > Issue Type: Bug > Components: Tools > Environment: Linux >Reporter: Ben Boule >Priority: Minor > Fix For: 1.2.9 > > > CQLSH does not include the milliseconds portion of the timestamp when > outputting query results. For example on my system a time might be displayed > like this: > "2013-08-09 10:55:58-0400" for a time stored in cassandra as: 1376060158267 > We've found this extremely annoying when dealing with time series data as it > will make records which occurred at different times appear to occur at the > same time. > I'm submitting a patch, the existing formatting code already has handling of > some versions of python which do not support formatting time zones, I'm not > sure which versions of python can format seconds+milliseconds so I attempted > to supply something which will work with any time_format string and does not > depend on the system library. > The above time with the patch will format like this: > "2013-08-09 10:55:58.267-0400" -- This message was sent by Atlassian JIRA (v6.3.4#6332)