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. > > >
