cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7626) Tracing problems with 2.1 cqlsh
Date Tue, 29 Jul 2014 16:13:39 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077902#comment-14077902
] 

Jonathan Ellis commented on CASSANDRA-7626:
-------------------------------------------

What is "the microseconds issue?"

> Tracing problems with 2.1 cqlsh
> -------------------------------
>
>                 Key: CASSANDRA-7626
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7626
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> If some replicas continue doing work after the coordinator responds to the client (e.g.
writing at CL.ONE with RF=3), those trace events will not have a source_elapsed field, leading
to the following error in cqlsh:
> {noformat}
> Traceback (most recent call last):
>   File "bin/cqlsh", line 822, in onecmd
>     self.handle_statement(st, statementtext)
>   File "bin/cqlsh", line 863, in handle_statement
>     return self.perform_statement(cqlruleset.cql_extract_orig(tokens, srcstr))
>   File "bin/cqlsh", line 898, in perform_statement
>     print_trace_session(self, self.session, stmt.trace.trace_id)
>   File "/srv/cassandra/bin/../pylib/cqlshlib/tracing.py", line 25, in print_trace_session
>     rows = fetch_trace_session(trace)
>   File "/srv/cassandra/bin/../pylib/cqlshlib/tracing.py", line 54, in fetch_trace_session
>     event.source_elapsed.microseconds])
> AttributeError: 'NoneType' object has no attribute 'microseconds'
> {noformat}
> If the trace wasn't fully written within the driver's 2 second waiting period, you'll
get this error:
> {noformat}
> Traceback (most recent call last):
>   File "bin/cqlsh", line 822, in onecmd
>     self.handle_statement(st, statementtext)
>   File "bin/cqlsh", line 863, in handle_statement
>     return self.perform_statement(cqlruleset.cql_extract_orig(tokens, srcstr))
>   File "bin/cqlsh", line 898, in perform_statement
>     print_trace_session(self, self.session, stmt.trace.trace_id)
> AttributeError: 'NoneType' object has no attribute 'trace_id'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message