cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-914) CLI does not allow connection to hostname with dashes
Date Tue, 23 Mar 2010 21:27:27 GMT

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

Eric Evans commented on CASSANDRA-914:
--------------------------------------

Your example above shows a keyspace with a hyphen, which according to my tests seems to work.
But yeah, as I suspected, a CF name containing a hyphen causes an sstable write to blow up.
I'll submit a separate ticket for that.

> CLI does not allow connection to hostname with dashes
> -----------------------------------------------------
>
>                 Key: CASSANDRA-914
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-914
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: gabriele renzi
>            Priority: Minor
>         Attachments: CASSANDRA-914.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> the cli syntax does not allow a dash in an identifier, which means that it is impossible
to connect to a hostname such as foo-bar.com. 
> It also forbids it in keyspace and column family names while it seems they are both supported
by cassandra itself. 
> Adding "_" as an allowed "identifier" character seems to fix both problems. I think the
grammar is still broken in that it allows "_" in hostnames, but that seems a non issue. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message