Search code examples
datagridignitein-memory-databasegridgain

how to enable Visor Command Line In Apache Ignite?


I have started Apache Ignite server via Maven Dependency trough eclipse,can anyone tell me how to monitor cache through visor command? How to enable it when setup Apache Ignite via Maven?


Solution

  • I think the most easy way is to download binary distributive and lunch Visor command line from "\bin" folder. Note, you need to download release that match to that you are using in your Maven based application.

    The second way is to use ignite-visor-console module from Maven

    And start Visor command line via: org.apache.ignite.visor.commands.VisorConsole object (it extends App). Note, Visor command line is written on Scala.

    Sample code:

    import org.apache.ignite.visor.commands.VisorConsole;
    
    public class Test {
        static public void main(String args[]) {
            VisorConsole.main(args);
        }
    }
    

    Also see Visor command line documentation.

    And also give a try for Web Console, as Dmitriy suggested.