cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Okelberry (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-10282) cqlsh exception when starting with "--debug" option
Date Tue, 08 Sep 2015 17:50:46 GMT

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

Ryan Okelberry edited comment on CASSANDRA-10282 at 9/8/15 5:49 PM:
--------------------------------------------------------------------

Python version
{code}
[root@host ~]# python --version
Python 2.6.6
{code}
Cqlsh runs fine, so long as the --debug option is not provided.  For example:
{code}
[root@colusa-y1 ~]# cqlsh `hostname` -e "DESCRIBE system" | head

CREATE KEYSPACE system WITH replication = {'class': 'LocalStrategy'}  AND durable_writes =
true;

CREATE TABLE system.peers (
    peer inet PRIMARY KEY,
    data_center text,
    host_id uuid,
    preferred_ip inet,
    rack text,
    release_version text,
{code}


was (Author: rokelber):
Python version
<code>
[root@host ~]# python --version
Python 2.6.6
<code>
Cqlsh runs fine, so long as the --debug option is not provided.  For example:
<code>
[root@colusa-y1 ~]# cqlsh `hostname` -e "DESCRIBE system" | head

CREATE KEYSPACE system WITH replication = {'class': 'LocalStrategy'}  AND durable_writes =
true;

CREATE TABLE system.peers (
    peer inet PRIMARY KEY,
    data_center text,
    host_id uuid,
    preferred_ip inet,
    rack text,
    release_version text,
</code>

> cqlsh exception when starting with "--debug" option 
> ----------------------------------------------------
>
>                 Key: CASSANDRA-10282
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10282
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: CentOS 6.4 x86_64
>            Reporter: Ryan Okelberry
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 2.1.x
>
>
> {code}
> [root@host ~]# cqlsh --version
> cqlsh 5.0.1
> {code}
> {code}
> [root@host ~]# cqlsh --debug
> Traceback (most recent call last):
>   File "/usr/bin/cqlsh", line 2487, in <module>
>     main(*read_options(sys.argv[1:], os.environ))
>   File "/usr/bin/cqlsh", line 2448, in main
>     sys.stderr.write("Using CQL driver: {}\n".format(cassandra))
> ValueError: zero length field name in format
> {code}



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

Mime
View raw message