You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (JIRA)" <ji...@apache.org> on 2015/05/15 11:41:01 UTC
[jira] [Issue Comment Deleted] (CASSANDRA-9390)
AbstractColumnFamilyInputFormat doesn't work with mixed case keyspaces
[ https://issues.apache.org/jira/browse/CASSANDRA-9390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Adamson updated CASSANDRA-9390:
------------------------------------
Comment: was deleted
(was: [~philipthompson] It would be better to use MetaData.escapeId to quote the keyspace rather than just wrap it in quotes. This guarantees that it is compatible with the java driver requirements for IDs.)
> AbstractColumnFamilyInputFormat doesn't work with mixed case keyspaces
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-9390
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9390
> Project: Cassandra
> Issue Type: Bug
> Components: Hadoop
> Reporter: Mike Adamson
> Assignee: Philip Thompson
> Fix For: 2.2.x
>
> Attachments: 9390-1.txt
>
>
> The AbstractColumnFamilyInputFormat isn't quoting the keyspace before calling metadata.getReplicas:
> {noformat}
> for (TokenRange tokenRange : metadata.getTokenRanges())
> map.put(tokenRange, metadata.getReplicas(keyspace, tokenRange));
> return map;
> {noformat}
> This is inconsistent with other areas of the hadoop code and causes the inputs using mixed case keyspaces to fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)