With nimbus the values are
-Dstorm.log.dir=/usr/local/apache-storm-0.9.4/logs
-Dlogfile.name=nimbus.log
-Dlogback.configurationFile=/usr/local/apache-storm-0.9.4/logback/cluster.xml
With supervisor, the values are again the same
-Dstorm.log.dir=/usr/local/apache-storm-0.9.4/logs
-Dlogfile.name=supervisor.log
-Dlogback.configurationFile=/usr/local/apache-storm-0.9.4/logback/cluster.xml
But the logs directory doesn't appear in /usr/local/apache-storm-0.9.4/
Thanks.Abhishek.
Date: Thu, 28 May 2015 10:23:27 -0500
Subject: Re: No logs directory in apache storm on Mavericks
From: maas...@gmail.com
To: user@storm.apache.org
When the workers and supervisor are run, what are the values for:
-Dstorm.log.dir=
-Dlogfile.name=
-Dlogback.configurationFile=
Thank you for your time!
+++++++++++++++++++++
Jeff Maass
linkedin.com/in/jeffmaass
stackoverflow.com/users/373418/maassql
+++++++++++++++++++++
On Thu, May 28, 2015 at 10:17 AM, Abhishek Raj <abhishekra...@outlook.com>
wrote:
Hi Jeff. Thanks for the response.
I've checked ${storm.log.dir} and it seems to be set correctly. I verified the
logs directory in the startup script (bin/storm) as well. It is set to
"./logs". But when I run the daemons, the logs directory doesn't seem to be
created at all. I think it might have something to do with java.library.path on
Mac OS X. Not so sure though. Any more suggestions?
Date: Thu, 28 May 2015 08:47:48 -0500
Subject: Re: No logs directory in apache storm on Mavericks
From: maas...@gmail.com
To: user@storm.apache.org
Couple of items to get you going:
When you run a topology, you will see that your supervisor and workers both
have System Variables set at the command line:
-Dstorm.log.dir=/opt/apache-storm-0.9.4/logs
-Dlogfile.name=supervisor.log
-Dlogback.configurationFile=/opt/apache-storm-0.9.4/logback/cluster.xml
in the Storm directory ( wherever you uncompressed Storm ), look at
./logback/cluster.xml
You will see that logs write to a variable, ${storm.log.dir}
Thank you for your time!
+++++++++++++++++++++
Jeff Maass
linkedin.com/in/jeffmaass
stackoverflow.com/users/373418/maassql
+++++++++++++++++++++
On Thu, May 28, 2015 at 3:52 AM, Abhishek Raj <abhishekra...@outlook.com> wrote:
I am using apache-storm 0.9.4 on OS X Mavericks. Here's my
storm.yamlstorm.zookeeper.servers:
- "localhost"
storm.zookeeper.port: 2181
storm.local.dir: "/var/lib/storm"
storm.local.hostname: "localhost"
nimbus.host: "localhost"
nimbus.childopts: "-Xmx512m"
supervisor.childopts: "-Xmx256m"
supervisor.slots.ports:
- 6700
- 6701
- 6702
- 6703
java.library.path:
"/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:/usr/local/lib"
ui.port: 8080
worker.childopts: "-Xmx768m"
I can run nimbus and supervisor fine and can submit topologies as well. But the
logs directory doesn't appear in storm's folder. I have already verified that
the folder has apt permissions.
Please help.
Thanks.Abhishek.