Can you create a cache using Ignite Visor CLI?

classic Classic list List threaded Threaded
4 messages Options
Andrew Munn-2 Andrew Munn-2
Reply | Threaded
Open this post in threaded view
|

Can you create a cache using Ignite Visor CLI?

It looks like the Visor CLI can only operate on existing caches, not create new ones.  Is that correct?  
akorensh akorensh
Reply | Threaded
Open this post in threaded view
|

Re: Can you create a cache using Ignite Visor CLI?

yes. That is correct:
https://apacheignite-tools.readme.io/docs/command-line-interface

use the "help cache" command inside the visor to see all of the
capabilities.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Andrew Munn-2 Andrew Munn-2
Reply | Threaded
Open this post in threaded view
|

Re: Can you create a cache using Ignite Visor CLI?

It looks like control.sh won't create caches either.  How can they be created by a utility in the shell?

On Tue, May 19, 2020 at 3:58 PM akorensh <[hidden email]> wrote:
yes. That is correct:
https://apacheignite-tools.readme.io/docs/command-line-interface

use the "help cache" command inside the visor to see all of the
capabilities.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
akorensh akorensh
Reply | Threaded
Open this post in threaded view
|

Re: Can you create a cache using Ignite Visor CLI?

you can use the sqlline: https://apacheignite-sql.readme.io/docs/sqlline

run some sql:
  CREATE TABLE Person(ID INTEGER PRIMARY KEY, NAME VARCHAR(100));
  INSERT INTO Person(ID, NAME) VALUES (1, 'Ed'), (2, 'Ann'), (3, 'Emma');

 You will see a cache created: SQL_PUBLIC_PERSON




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/