Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> parsing env variables in a flume conf file


Copy link to this message
-
parsing env variables in a flume conf file
How do I parse or call environment variables inside a flume config file?  For example, I have a flume config file that has an s3 sink setup.  Right now I have AWS access and secret keys hard coded into the config file.  I would like to store them some where else and pick them up in the config file as an env variable.  Flume docs talk about putting env variables into flume-env.sh which is fine but how do I reference then in the config file when they are need such as the above scenario?

Regards,
Dwight

[Description: cid:B446C73C-E88B-4947-BD2A-586ECE21AB0D]
Dwight Marzolf
Sr. Engineer
Data & Analytics
Phone: +1 781 430 5228

HERE Burlington
5 Wayside Rd
42° 29' 7" N. 71° 11' 32" W
HERE, a Nokia business