How to set custom REST port for apache ignite when ignite is started as a service in Opendaylight apache karaf?
问题 Opendaylight uses port 8080 which is the same as the default ignite REST http port. So i tried to change the port on which ignite listens for REST requests. Here is a java code snippet for this. System.setProperty("IGNITE_JETTY_PORT","7111"); System.setProperty("IGNITE_JETTY_HOST","localhost"); ignite = Ignition.start(config); The above works fine and changes the ignite REST port when i run in eclipse. But fails when i start an ignite instance in apache karaf. 回答1: I think you may try with