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

gabriele renzi commented on CASSANDRA-914:
------------------------------------------

sorry hadn't seen CASSANDRA-677. I was dubious about the hyphen in CF names, so 
I tried, and apparently, they did work

cassandra> connect local-host/9160
Connected to: "Test Cluster" on local-host/9160
cassandra> set test-ks.Standard1-foo['x']['y']='hello'
Value inserted.
cassandra> get test-ks.Standard1-foo['x']['y']        
=> (column=79, value=hello, timestamp=1269377615172)

Now I see that although they work on a freshly started instance, cassandra will 
fail handling them when restarted. I believe in this case, an exception should 
be raised when cassandra is starting up?  

> 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