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

Eric Evans commented on CASSANDRA-677:
--------------------------------------

Sorry Roger, I did some quick testing and this patch seem to have issues as 
well. It does allow hyphens in hostnames, but only when there are no numbers 
involved.

cassandra> connect cass-1.lab/9160
line 1:13 mismatched input '1' expecting Identifier
Exception Cannot open null host.

> cassandra-cli doesn't allow hyphens in hostnames
> ------------------------------------------------
>
>                 Key: CASSANDRA-677
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-677
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.6
>         Environment: Any
>            Reporter: Eric Evans
>            Priority: Minor
>         Attachments: CASSANDRA-677.patch, CASSANDRA-677.patch
>
>
> It's not possible to use a hostname that contains a hyphen with the "connect" 
> command interactively, (the parser does not accept hostnames that contain 
> hyphens).
> Note: It is still possible to connect to such hosts by passing it on the 
> command line using -host.

-- 
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