Re: How to pass arguments to a Samza job

2015-04-21 Thread jeremy p
All good. Thank you both for the responses and verification! On Tue, Apr 21, 2015 at 5:33 PM, Yan Fang wrote: > Hi Jeremy, > > Naveen is correct. You can also pass the argument through "--config". I > overlooked it. Sorry for the confusion. > > Cheers, > > Fang, Yan > yanfang...@gmail.com > > O

Re: How to pass arguments to a Samza job

2015-04-21 Thread Yan Fang
Hi Jeremy, Naveen is correct. You can also pass the argument through "--config". I overlooked it. Sorry for the confusion. Cheers, Fang, Yan yanfang...@gmail.com On Tue, Apr 21, 2015 at 2:10 PM, Naveen S wrote: > Hey Jeremy, >Sorry, it's probably because it's not documente

Re: How to pass arguments to a Samza job

2015-04-21 Thread Naveen S
Hey Jeremy, Sorry, it's probably because it's not documented, but anything with "--config" will be passed to the property overrides. I just tested it out with hello-samza and it does work. deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesC

Re: How to pass arguments to a Samza job

2015-04-21 Thread jeremy p
I'm a little confused. Yan is saying that you cannot pass in command line parameters, but Nav is saying that it is possible. I guess I'll just build a small project and test it out to see which one is correct. Thank you both. On Tue, Apr 21, 2015 at 2:56 PM, Nav s wrote: > Hey Jeremy, >

Re: How to pass arguments to a Samza job

2015-04-21 Thread Nav s
Hey Jeremy, You can implement InitableTask , which should give you a handle to the config (You should be able to access your configs from this class). You can pass commandline a

Re: How to pass arguments to a Samza job

2015-04-21 Thread Yan Fang
Hi Jeremy, Currently Samza does not support accepting from command. After SAMZA-655 and SAMZA-348 , you will have other two options - environment variable and stream. *Then How to pass argument fro