You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/09/05 00:37:08 UTC
[jira] [Created] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false no
longer works
Jonathan Ellis created CASSANDRA-4617:
-----------------------------------------
Summary: OPTIMIZE_LOCAL_REQUESTS=false no longer works
Key: CASSANDRA-4617
URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
Project: Cassandra
Issue Type: Bug
Reporter: Jonathan Ellis
Assignee: Sylvain Lebresne
Priority: Trivial
SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false
no longer works
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448134#comment-13448134 ]
Jonathan Ellis commented on CASSANDRA-4617:
-------------------------------------------
Sample stacktrace:
{noformat}
ERROR 17:31:01,881 Exception encountered during startup
java.lang.RuntimeException: TimedOutException()
at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:139)
at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:297)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:201)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:349)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:392)
Caused by: TimedOutException()
at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:142)
at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:118)
at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:62)
at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:107)
at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:123)
... 4 more
java.lang.RuntimeException: TimedOutException()
at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:139)
at org.apache.cassandra.db.SystemTable.checkHealth(SystemTable.java:297)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:201)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:349)
at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:392)
Caused by: TimedOutException()
at org.apache.cassandra.cql3.statements.SelectStatement.executeInternal(SelectStatement.java:142)
at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:118)
at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:62)
at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:107)
at org.apache.cassandra.cql3.QueryProcessor.processInternal(QueryProcessor.java:123)
... 4 more
Exception encountered during startup: TimedOutException()
{noformat}
> OPTIMIZE_LOCAL_REQUESTS=false no longer works
> ---------------------------------------------
>
> Key: CASSANDRA-4617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
> Priority: Trivial
>
> SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false no
longer works
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-4617.
---------------------------------------
Resolution: Duplicate
Fix Version/s: (was: 1.2.0)
Assignee: (was: Sylvain Lebresne)
Will address both in that ticket.
> OPTIMIZE_LOCAL_REQUESTS=false no longer works
> ---------------------------------------------
>
> Key: CASSANDRA-4617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Reporter: Jonathan Ellis
> Priority: Trivial
>
> SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false
no longer works
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448136#comment-13448136 ]
Jonathan Ellis commented on CASSANDRA-4617:
-------------------------------------------
I don't see a solution I'm thrilled with:
- Start ITC listeners sooner (then we need to worry about other nodes reconnecting to us post-restart before we're ready)
- Add some kind of special case for checkHealth to always enable OPTIMIZE_LOCAL_REQUESTS
- Don't use QueryProcessor in checkHealth, use low-level getColumnFamily
> OPTIMIZE_LOCAL_REQUESTS=false no longer works
> ---------------------------------------------
>
> Key: CASSANDRA-4617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
> Priority: Trivial
> Fix For: 1.2.0
>
>
> SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false no
longer works
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-4617:
--------------------------------------
Affects Version/s: 1.2.0 beta 1
Fix Version/s: 1.2.0
> OPTIMIZE_LOCAL_REQUESTS=false no longer works
> ---------------------------------------------
>
> Key: CASSANDRA-4617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
> Priority: Trivial
> Fix For: 1.2.0
>
>
> SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-4617) OPTIMIZE_LOCAL_REQUESTS=false
no longer works
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453344#comment-13453344 ]
Jonathan Ellis commented on CASSANDRA-4617:
-------------------------------------------
Related: CASSANDRA-4648
> OPTIMIZE_LOCAL_REQUESTS=false no longer works
> ---------------------------------------------
>
> Key: CASSANDRA-4617
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4617
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Reporter: Jonathan Ellis
> Assignee: Sylvain Lebresne
> Priority: Trivial
> Fix For: 1.2.0
>
>
> SystemTable.checkHealth is called before starting to listen for intra-cluster RPC requests, so since QueryProcessor compiles down to StorageProxy calls, it will time out and fail the server startup.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira