I'm using 0.4.0,I'm first run the start-collecter.sh,and then start-agents.sh. Thanks for you suggestion! I will make a clean install.
On Mon, Jun 7, 2010 at 5:21 PM, Gerrit Jansen van Vuuren < gvanvuu...@specificmedia.com> wrote: > This is very strange. > > > > Which version of chukwa are you using? > > > > The file globing only is available in chukwa-0.4.0. > > > > How are you starting the agent? $CHUKWA_HOME/bin/chukwa agent ? > > > > Sometimes on server installs after trying out some configs things get > messed up. What I would do is: > > Make a clean install of chukwa-0.4.0, on a different machine. > > Copy a test log over to simulate the directory structure and log file. > > One by one do the configuration, by hand (so that you very exactly what > goes in). You should only need to touch the conf/chukwa-env.sh, > conf/chukwa-agent-conf.xml, conf/collectors, and conf/initial_adaptors > files. > > > > > > Cheers, > > Gerrit > > > > > > *From:* 周鹏 [mailto:zhoupeng19850...@gmail.com] > *Sent:* Monday, June 07, 2010 9:54 AM > > *To:* chukwa-user@hadoop.apache.org > *Subject:* Re: Adaptor configuration problem > > > > This is my agent.log: > > 387 2010-06-07 12:20:12,635 INFO listen thread for > /127.0.0.1:41452FileTailingAdaptor - started file tailer > adaptor_b39afb29239c6c9ab14df3f0b16d77e1 on file > /data/hadoopdisk/logs/userlogs/attempt_201006042150_0503_m_000020_0/syslog > with first byte at offset 0 > > this is my initial_adaptors: > add DirTailingAdaptor logs /home/rmss/wwwgatta/ *.log > filetailer.CharFileTailingAdaptorUTF8 0 > Why did the agent collected the log in /data/hadoopdisk/logs/? > Thanks! > > On Mon, Jun 7, 2010 at 3:10 PM, 周鹏 <zhoupeng19850...@gmail.com> wrote: > > Hi,I want to monitoring logs in the dir:/home/rmss/wwwgatta/,and there are > two types of log in it,such as > gatta.log, gatta.log.2010-05-24. > My initial_adaptors is: > add DirTailingAdaptor logs /home/rmss/wwwgatta/ *.log > filetailer.CharFileTailingAdaptorUTF8 0 > > When I start agent,the agent.log says that the adaptor has a invalid > param: /home/rmss/wwwgatta/ *.log. > > The second problem is: > The agent collected the log in the HADOOP_HOME/logs/,but i didn't put the > dir int the initial_adaptors.How can i only monitoring the two types of log > in the > /home/rmss/wwwgatta/?? > > Thanks! > > >