Is there any cd command in storm script. Anyway login as root user and do a find of nimbus and supervisor logs files. find / -name nimbus*log* find / -name supervisor*log*
On 5/30/15, Abhishek Raj <[email protected]> wrote: > @skgadalay by "./logs" I meant logs directory in apache storm. > @Jeffery Maass, I tried that, the log files don't appear inside the folder > even if I manually create it. Any other suggestions? > Thanks.Abhishek > >> Date: Fri, 29 May 2015 22:44:22 +0530 >> Subject: Re: No logs directory in apache storm on Mavericks >> From: [email protected] >> To: [email protected] >> >> You mentioned the storm script is having the logs directory as "./logs". >> Then it will create the logs directory in the current working >> directory where you run the storm command. >> >> >> On 5/29/15, Jeffery Maass <[email protected]> wrote: >> > Maybe if you create the logs directory, then restart the processes? >> > >> > Thank you for your time! >> > >> > +++++++++++++++++++++ >> > Jeff Maass <[email protected]> >> > linkedin.com/in/jeffmaass >> > stackoverflow.com/users/373418/maassql >> > +++++++++++++++++++++ >> > >> > >> > On Fri, May 29, 2015 at 12:42 AM, Abhishek Raj >> > <[email protected]> >> > wrote: >> > >> >> 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: [email protected] >> >> To: [email protected] >> >> >> >> 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 <[email protected]> >> >> linkedin.com/in/jeffmaass >> >> stackoverflow.com/users/373418/maassql >> >> +++++++++++++++++++++ >> >> >> >> >> >> On Thu, May 28, 2015 at 10:17 AM, Abhishek Raj >> >> <[email protected]> >> >> 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: [email protected] >> >> To: [email protected] >> >> >> >> >> >> 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 <[email protected]> >> >> linkedin.com/in/jeffmaass >> >> stackoverflow.com/users/373418/maassql >> >> +++++++++++++++++++++ >> >> >> >> >> >> On Thu, May 28, 2015 at 3:52 AM, Abhishek Raj >> >> <[email protected]> >> >> wrote: >> >> >> >> I am using apache-storm 0.9.4 on OS X Mavericks. Here's my storm.yaml >> >> >> >> storm.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. >> >> >> >> >> >> >> >> >> > >
