Command alias must include module name, so instead of:
// Startup aliases for the first two seed nodes and a third, more can be started.
addCommandAlias("sharding1", "runMain sample.killrweather.KillrWeather 7345")
addCommandAlias("sharding2", "runMain sample.killrweather.KillrWeather 7355")
addCommandAlias("sharding3", "runMain sample.killrweather.KillrWeather 0")
They must be:
// Startup aliases for the first two seed nodes and a third, more can be started.
addCommandAlias("sharding1", "killrweather/runMain sample.killrweather.KillrWeather 7345")
addCommandAlias("sharding2", "killrweather/runMain sample.killrweather.KillrWeather 7355")
addCommandAlias("sharding3", "killrweather/runMain sample.killrweather.KillrWeather 0")
Command alias must include module name, so instead of: // Startup aliases for the first two seed nodes and a third, more can be started. addCommandAlias("sharding1", "runMain sample.killrweather.KillrWeather 7345") addCommandAlias("sharding2", "runMain sample.killrweather.KillrWeather 7355") addCommandAlias("sharding3", "runMain sample.killrweather.KillrWeather 0")
They must be: // Startup aliases for the first two seed nodes and a third, more can be started. addCommandAlias("sharding1", "killrweather/runMain sample.killrweather.KillrWeather 7345") addCommandAlias("sharding2", "killrweather/runMain sample.killrweather.KillrWeather 7355") addCommandAlias("sharding3", "killrweather/runMain sample.killrweather.KillrWeather 0")