Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 89339 invoked from network); 23 Mar 2010 21:27:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 21:27:48 -0000 Received: (qmail 6499 invoked by uid 500); 23 Mar 2010 21:27:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 6482 invoked by uid 500); 23 Mar 2010 21:27:48 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 6471 invoked by uid 99); 23 Mar 2010 21:27:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 21:27:48 +0000 X-ASF-Spam-Status: No, hits=-1111.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 21:27:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4407E234C4BA for ; Tue, 23 Mar 2010 21:27:27 +0000 (UTC) Message-ID: <1280870055.444551269379647277.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 21:27:27 +0000 (UTC) From: "Eric Evans (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-914) CLI does not allow connection to hostname with dashes In-Reply-To: <597430403.435101269356247232.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.