You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ZhaoYang (Jira)" <ji...@apache.org> on 2020/03/31 16:37:00 UTC

[jira] [Comment Edited] (CASSANDRA-15660) Unable to specify -e/--execute flag in cqlsh

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

ZhaoYang edited comment on CASSANDRA-15660 at 3/31/20, 4:36 PM:
----------------------------------------------------------------

[patch|https://github.com/apache/cassandra/pull/502/files]
 [dtest|https://github.com/apache/cassandra-dtest/pull/60/files]


 Marking it patch-available.. I have added a regression test and {{cqlsh_tests/test_cqlsh.py}} works fine locally, but I am not able to run circle-ci because queue is full..


was (Author: jasonstack):
Marking it patch-available.. I have added a regression test and {{cqlsh_tests/test_cqlsh.py}} works fine locally, but I am not able to run circle-ci because queue is full..

> Unable to specify -e/--execute flag in cqlsh
> --------------------------------------------
>
>                 Key: CASSANDRA-15660
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15660
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/cqlsh
>            Reporter: Stefan Miklosovic
>            Assignee: ZhaoYang
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.0-alpha
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> From mailing list:
> [https://lists.apache.org/thread.html/r377099b632c62b641e4feef5b738084fc5369b0c7157fae867853597%40%3Cdev.cassandra.apache.org%3E]
> The bug looks like this:
> {code:java}
> $ /usr/bin/cqlsh -e 'describe keyspaces' -u cassandra -p cassandra 127.0.0.1
> Usage: cqlsh.py [options] [host [port]]cqlsh.py: error: '127.0.0.1' is not a valid port number.
> {code}
> This is working in 3.x releases just fine but fails on 4.
> The workaround for 4.x code as of today is to put these statements into file and use "-f" flag.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org