You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2015/08/07 19:03:46 UTC

[jira] [Comment Edited] (CASSANDRA-9777) If you have a ~/.cqlshrc and a ~/.cassandra/cqlshrc, cqlsh will overwrite the latter with the former

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

Tyler Hobbs edited comment on CASSANDRA-9777 at 8/7/15 5:03 PM:
----------------------------------------------------------------

Pending CI tests:
* [2.1 testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-testall/]
* [2.1 dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-dtest/]
* [2.2 testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-2.2-testall/]
* [2.2 dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-2.2-dtest/]
* [3.0 testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-3.0-testall/]
* [3.0 dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-3.0-dtest/]
* [trunk testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-trunk-testall/]
* [trunk dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-trunk-dtest/]


was (Author: thobbs):
Pending CI tests:
* [testall|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-testall/]
* [dtest|http://cassci.datastax.com/view/Dev/view/thobbs/job/thobbs-CASSANDRA-9777-dtest/]

> If you have a ~/.cqlshrc and a ~/.cassandra/cqlshrc, cqlsh will overwrite the latter with the former
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9777
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9777
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jon Moses
>            Assignee: David Kua
>              Labels: cqlsh
>             Fix For: 2.2.x
>
>
> If you have a .cqlshrc file, and a ~/.cassandra/cqlshrc file, when you run `cqlsh`, it will overwrite the latter with the former.  https://github.com/apache/cassandra/blob/trunk/bin/cqlsh#L202
> If the 'new' path exists (~/.cassandra/cqlsh), cqlsh should either WARN or just leave the files alone.
> {noformat}
> ~$ cat .cqlshrc
> [authentication]
> ~$ cat .cassandra/cqlshrc
> [connection]
> ~$ cqlsh
> ~$ cat .cqlshrc
> cat: .cqlshrc: No such file or directory
> ~$ cat .cassandra/cqlshrc
> [authentication]
> ~$
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)