Closed leiz-me closed 3 years ago
I am trying to use redstorm in the production cluster mode.
The setup is looking like this:
Started nimbus/supervisor/ui on my local Mac to simulate production cluster.
And follow the instructions of redstorm that "redstorm jar examples" and "storm jar" to send the topology to cluster.
Error message shows that "RedStorm::Configuration.topology_class.new" has only one arguments for 2.
The method ClusterWordCountTopology#start in cluster_word_count_topology.rb requires 2 parameters, base_class_path and env.
But topology_launcher.rb uses only env, like this,
RedStorm::Configuration.topology_class.new.start(env)
My question is, how to change the code in ClusterWordCountTopology#start to make it work? Or what is the base_class_path in this case?
Thank you.
I am trying to use redstorm in the production cluster mode.
The setup is looking like this:
Started nimbus/supervisor/ui on my local Mac to simulate production cluster.
And follow the instructions of redstorm that "redstorm jar examples" and "storm jar" to send the topology to cluster.
Error message shows that "RedStorm::Configuration.topology_class.new" has only one arguments for 2.
The method ClusterWordCountTopology#start in cluster_word_count_topology.rb requires 2 parameters, base_class_path and env.
But topology_launcher.rb uses only env, like this,
RedStorm::Configuration.topology_class.new.start(env)
My question is, how to change the code in ClusterWordCountTopology#start to make it work? Or what is the base_class_path in this case?
Thank you.