You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/06/16 01:06:42 UTC

[jira] [Resolved] (CASSANDRA-4346) Hive autocreate C* tables/other app instead of CLI create CF - need to restart C* CLI to see new CF's created in existing Keyspaces

     [ https://issues.apache.org/jira/browse/CASSANDRA-4346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-4346.
---------------------------------------

    Resolution: Duplicate

done in CASSANDRA-4052
                
> Hive autocreate C* tables/other app instead of CLI create CF - need to restart C* CLI to see new CF's created in existing Keyspaces
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4346
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4346
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Alex Liu
>            Priority: Minor
>
> Cassandra CliClient class keep a local cache of
> private final Map<String, KsDef> keyspacesMap = new HashMap<String, KsDef>();
> which is refreshed each time add new keyspace, login, add new cf through the CLI, any other meta data changes not made by CLI don't refresh the local cache.
> we can add one new command to CLI, refrech the meta data of the keyspace
> or remove the local cache, so that any other app changes the meta data will show in CLI real time

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira