You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by IT CTO <go...@gmail.com> on 2015/10/11 13:28:05 UTC

Pass parameter to a script

Hi,

I have a flume script that sink a spoolDir to HDFS, I want to run multiple
instances of this script without copying the script and changing it (all
the difference is in the source spoolDir directory)
Can I pass the directory as a parameter to the script? How can I access it
in the script?

Eran
-- 
Eran | "You don't need eyes to see, you need vision" (Faithless)