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

Jonathan Ellis commented on CASSANDRA-4346:
-------------------------------------------

specifically, you can simply issue a describe to force a refresh
                
> 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

        

Reply via email to