storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Priyank Shah <>
Subject Re: Storm and enviroment variables
Date Wed, 07 Oct 2015 21:31:20 GMT
I think you can specify a config file that is other than the default. Can you try —config
<pathToYourYamlFile> command line option while running storm command ?

From: "Garcia-Contractor, Joseph (CORP)"
Reply-To: "<>"
Date: Wednesday, October 7, 2015 at 2:15 PM
To: "<>"
Subject: RE: Storm and enviroment variables

Ok so an additional question here…

Can I tell storm on startup to use a storm.yaml file that I specify with a full path, or will
it only look in /etc/storm/conf/storm.yaml?


From: Priyank Shah []
Sent: Wednesday, September 30, 2015 2:31 PM
Subject: Re: Storm and enviroment variables

Hi Joseph,

I think storm core components don’t support environment variables. It either has to be a
config yaml file or a –c option. For –c option, its a key value pair of the form key=value.
I checked the code and key should be same as key in yaml. It should work for simple strings.
 But not sure about other types. In the code its trying to parse it as a json. You can give
it a try.

I don’t know about logback file . But you can configure your log directory using –c storm.log.dir=/var/log/

From: "Garcia-Contractor, Joseph (CORP)"
Reply-To: "<>"
Date: Wednesday, September 30, 2015 at 8:05 AM
To: "<>"
Subject: Storm and enviroment variables

Hi All,

Another question.

Does storm accept environment variables that can be used in place of /etc/storm/conf/storm.yaml?

If so, what is the format of the environment variable it?  IE.: storm.local.dir in storm.yaml
would be STORM_LOCAL_DIR in the environment.

I see that I can use –c at the command line but I would prefer using environment variable
without having to build the command line args.  If I need to go with –c, what would the
arguments still be in yaml format?  IE.: storm.zookeeper.servers=”[,, ]

Is there a way to override the where the logback file is located and read from?
This message and any attachments are intended only for the use of the addressee and may contain
information that is privileged and confidential. If the reader of the message is not the intended
recipient or an authorized representative of the intended recipient, you are hereby notified
that any dissemination of this communication is strictly prohibited. If you have received
this communication in error, notify the sender immediately by return email and delete the
message and any attachments from your system.
View raw message