Hi all,

While upgrading storm versions, I found that I could not submit command line 
arguments to my topology because they were being modified before reaching my 
topology. My commands was like this:

path-to-storm-bin jar jar-to-run topology-class --foo my_foo --bar my_bar

In 2.0, I get an error saying unrecognized argument foo my_foo (the -- is 
missing from foo). The only solution I have been able to use has been to 
surround all the arguments with quotes so it looks as follows:

path-to-storm-bin jar jar-to-run topology-class "--foo my_foo --bar my_bar"

And then to grab all the arguments as a single argument and split them up 
myself. This doesn't seem like this should be the way to do it. Is there 
another way you are supposed to use command line args?

Thanks
-Ray

Reply via email to