[jira] [Comment Edited] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17846469#comment-17846469 ] Gautam G edited comment on CASSANDRA-19105 at 5/15/24 12:26 AM: Hi [~bschoeni], These were my changes ([https://github.com/apache/cassandra/pull/3307).] I dint get a change to look at it later. Let me know if I can do anything. I am interested to take it. was (Author: gautamg): Hi [~bschoeni], These were my final changes ([https://github.com/apache/cassandra/pull/3307).] I dint get a change to look at it later. Let me know if I can do anything. I am interested to take it. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17846469#comment-17846469 ] Gautam G commented on CASSANDRA-19105: -- Hi [~bschoeni], These were my final changes ([https://github.com/apache/cassandra/pull/3307).] I dint get a change to look at it later. Let me know if I can do anything. I am interested to take it. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19206) ./bin/cqlsh breaks with an python version 3.12.1
[ https://issues.apache.org/jira/browse/CASSANDRA-19206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17803404#comment-17803404 ] Gautam G commented on CASSANDRA-19206: -- Thank you for the info > ./bin/cqlsh breaks with an python version 3.12.1 > > > Key: CASSANDRA-19206 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19206 > Project: Cassandra > Issue Type: Bug >Reporter: Gautam G >Priority: Normal > Attachments: image-2023-12-18-01-38-47-424.png, > image-2023-12-18-01-39-33-839.png, image-2023-12-18-01-40-38-974.png > > > Inside cassandra directory, on running ./bin/cqlsh gives ModuleNotFoundError > when run using python 3.12.1. > ./bin/cqlsh works well for python versions like 3.9.18. > > The below image shows the error that occured while using python 3.12.1 > !image-2023-12-18-01-39-33-839.png! > > The below image shows how it should normally work, it was ran on python 3.9.18 > !image-2023-12-18-01-40-38-974.png! > > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17802377#comment-17802377 ] Gautam G commented on CASSANDRA-19105: -- I need to check issue# 2 once in my end. When I implemented the changes I expect Tracing session id to be printed in the file on capturing. When the query is given the first time the Tracing session id does appear, but appears in the file from the next runs. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17801920#comment-17801920 ] Gautam G commented on CASSANDRA-19105: -- [~bschoeni] i tried to make some changes [github|https://github.com/GautamGottipati/cassandra/commit/4a1228f2721476db94d1bc3692a2a880b7099708?diff=split=0] Some of the issues after these changes : 1) When we enable capture the self.color becomes false (line 1649 in qlshmain.py), due to this the trace is not colored when printed in shell( sysout) 2) There is some issue on printing Tracing session to the file. The Tracing session: does n't appear in the first run, it appears in the next runs. Wanted to know if I am on right track. Open for suggestions. Thank you > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17801380#comment-17801380 ] Gautam G edited comment on CASSANDRA-19105 at 12/30/23 6:45 PM: 5.0 alpha server means I need to clone [https://github.com/apache/cassandra/tree/cassandra-5.0] making necessary changes here and run pytest was (Author: gautamg): 5.0 alpha server means I need to clone [https://github.com/apache/cassandra/tree/cassandra-5.0] and run pytest > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17801260#comment-17801260 ] Gautam G edited comment on CASSANDRA-19105 at 12/30/23 7:53 AM: Thank you [~bschoeni] . I wanted to know if I make any changes to the code, how do I test it locally. Do we do ./bin/cqlsh. or do we have any other process. was (Author: gautamg): Thank you [~bschoeni] . I wanted to know if I make any changes to the code, how do I test it locally. Do we build (ant jar) and then do ./bin/cqlsh. or do we have any other process. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17801260#comment-17801260 ] Gautam G commented on CASSANDRA-19105: -- Thank you [~bschoeni] . I wanted to know if I make any changes to the code, how do I test it locally. Do we build (ant jar) and then do ./bin/cqlsh. or do we have any other process. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17801057#comment-17801057 ] Gautam G commented on CASSANDRA-19105: -- Got it [~bschoeni] . So, we plan provide an option where we only capture the query output to the file and the trace output should be displayed in the shell. Correct me if I have understood it wrong. Thank you. > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Assignee: Gautam G >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Comment Edited] (CASSANDRA-19105) Using Capture to save results in CQLSH with Tracing on incorrectly saves the trace details
[ https://issues.apache.org/jira/browse/CASSANDRA-19105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17800807#comment-17800807 ] Gautam G edited comment on CASSANDRA-19105 at 12/27/23 3:07 PM: I would like to work on this issue, can I get some suggestions on what source files to look for etc., I can find there is a folder for Tracing in src/Services. Thank you was (Author: gautamg): I would like to work on this issue, can I get some suggestions on what file to look for etc. Thank you > Using Capture to save results in CQLSH with Tracing on incorrectly saves the > trace details > -- > > Key: CASSANDRA-19105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19105 > Project: Cassandra > Issue Type: Bug > Components: CQL/Interpreter >Reporter: Brad Schoening >Priority: Normal > > When using *Tracing* in CQLSH, it's sometimes helpful to use *Capture* to > avoid paging through output when you want to see the trace results. However, > the trace results are also incorrectly captured to the output file. > According to *Help Capture* (below), only the query result should be saved. > The correct behavior should display the trace results and only capture the > query results. > {_}Help capture message{_}: Only query result output is captured. > Errors and output from cqlsh-only commands will still be shown in the cqlsh > session. > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-19206) ./bin/cqlsh breaks with an python version 3.12.1
[ https://issues.apache.org/jira/browse/CASSANDRA-19206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17798344#comment-17798344 ] Gautam G commented on CASSANDRA-19206: -- How do we know which version of six is being installed. and how are these modules installed. Is it from cassandra-driver-3.28.0.zip. I am curious to know how are these installed. > ./bin/cqlsh breaks with an python version 3.12.1 > > > Key: CASSANDRA-19206 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19206 > Project: Cassandra > Issue Type: Bug >Reporter: Gautam G >Priority: Normal > Attachments: image-2023-12-18-01-38-47-424.png, > image-2023-12-18-01-39-33-839.png, image-2023-12-18-01-40-38-974.png > > > Inside cassandra directory, on running ./bin/cqlsh gives ModuleNotFoundError > when run using python 3.12.1. > ./bin/cqlsh works well for python versions like 3.9.18. > > The below image shows the error that occured while using python 3.12.1 > !image-2023-12-18-01-39-33-839.png! > > The below image shows how it should normally work, it was ran on python 3.9.18 > !image-2023-12-18-01-40-38-974.png! > > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Created] (CASSANDRA-19206) ./bin/cqlsh breaks with an python version 3.12.1
Gautam G created CASSANDRA-19206: Summary: ./bin/cqlsh breaks with an python version 3.12.1 Key: CASSANDRA-19206 URL: https://issues.apache.org/jira/browse/CASSANDRA-19206 Project: Cassandra Issue Type: Bug Reporter: Gautam G Attachments: image-2023-12-18-01-38-47-424.png, image-2023-12-18-01-39-33-839.png, image-2023-12-18-01-40-38-974.png Inside cassandra directory, on running ./bin/cqlsh gives ModuleNotFoundError when run using python 3.12.1. ./bin/cqlsh works well for python versions like 3.9.18. The below image shows the error that occured while using python 3.12.1 !image-2023-12-18-01-39-33-839.png! The below image shows how it should normally work, it was ran on python 3.9.18 !image-2023-12-18-01-40-38-974.png! -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org