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

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

This issue and CASSANDRA-677 are duplicates, and gabriele renzi's patch 
attached here is identical to  Roger Schildmeijer's first patch in that issue.

The problem with this approach is that it allows hyphens in keyspace and column 
family names, which is probably a no-no (at least for column families). 
However, after thinking about this more, it's probably worth applying since 
it's really not the place of the cli to be the arbiter of allowable column 
family names, and more people are probably tripped up by the reported issue.

It would be nice to see some of this irritating nits fixed once and for all, 
but maybe CASSANDRA-912 will manage 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.

Reply via email to