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

Aleksey Yeschenko commented on CASSANDRA-4584:
----------------------------------------------

OS X:

~/Repos/ASF/cassandra ➤ bin/cqlsh 
Connected to Test Cluster at localhost:9160.
[cqlsh 2.3.0 | Cassandra 1.2.0-beta1-SNAPSHOT | CQL spec 3.0.0 | Thrift 
protocol 19.34.0]
Use HELP for help.
cqlsh> create keyspace foo with replication = {'class': 'SimpleStrategy', 
'replication_factor': '1'};
cqlsh> use foo;
cqlsh:foo> create table one (id int primary key, c int);
cqlsh:foo> TRACING ON;
Now tracing requests.
cqlsh:foo> insert into one (id, c) values (1, 2);
 session_id                           | event_id                 | activity     
                                                                                
                                                                               
| happened_at              | source    | source_elapsed | thread
--------------------------------------+--------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------+-----------+----------------+------------------
 df2cfa90-14b1-11e2-0000-242d50cf1fdf | 2012-10-13 00:14:56+0300 | 
Mutations/ConsistencyLevel are [RowMutation(keyspace='foo', key='00000001', 
modifications=[ColumnFamily(one 
[:false:0@1350076496063000,c:false:4@1350076496063000,])])]/ONE | 2012-10-13 
00:14:56+0300 | 127.0.0.1 |           1417 |         Thrift:1
 df2cfa90-14b1-11e2-0000-242d50cf1fdf | 2012-10-13 00:14:56+0300 |              
                                                                         insert 
writing local RowMutation(keyspace='foo', key='00000001', modifications=[one]) 
| 2012-10-13 00:14:56+0300 | 127.0.0.1 |           5774 |         Thrift:1
 df2cfa90-14b1-11e2-0000-242d50cf1fdf | 2012-10-13 00:14:56+0300 |              
                                                                                
                                                             applying mutation 
| 2012-10-13 00:14:56+0300 | 127.0.0.1 |           6317 | MutationStage:34
 df2cfa90-14b1-11e2-0000-242d50cf1fdf | 2012-10-13 00:14:56+0300 |              
                                                                                
   1 regions now allocated in org.apache.cassandra.utils.SlabAllocator@c303a60 
| 2012-10-13 00:14:56+0300 | 127.0.0.1 |           6531 | MutationStage:34
 df2cfa90-14b1-11e2-0000-242d50cf1fdf | 2012-10-13 00:14:56+0300 |              
                                                 completed executing 
TraceSessionWrapper{state=org.apache.cassandra.tracing.TraceState@962e703, 
callable=null} | 2012-10-13 00:14:56+0300 | 127.0.0.1 |           6892 | 
MutationStage:34

cqlsh:foo> 

Same output on Ubuntu 12.04. Might be Windows specific.
                
> Add cqlsh syntax to enable request tracing
> ------------------------------------------
>
>                 Key: CASSANDRA-4584
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4584
>             Project: Cassandra
>          Issue Type: Sub-task
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Jonathan Ellis
>            Assignee: Aleksey Yeschenko
>              Labels: cql3
>             Fix For: 1.2.0 beta 2
>
>         Attachments: 4584.patch, 4584.patch, 4584.patch, 4584.patch, 
> 4584.patch, CASSANDRA-4584-INCOMPLETE.txt
>
>


--
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

Reply via email to