|
[
Permlink
| « Hide
]
Stefan Groschupf added a comment - 25/Jul/06 08:15 PM
Shouldn't that be fixed in .8 since by today this tool just produce no output?!
Perhaps this is happening in distributed setup? in 1 machine setup output is done to log file see
Yes this happens only in a distributed environment. Please also see my last mail in the hadoop dev list. I think there are more general logging problems, that only occurs in a distributed environment. So you will not track them down using local runner.
I think also that producing no output on the console is confusing to new users, especially in the "local" mode. It's not immediately obvious where to look for results of your commands, especially commands like 'readdb -stats', which users naturally expect to produce some output on the console.
I agree
Ok, go ahead, it makes sense in this case. However, there are many places where displaying INFO messages on the console also makes sense, again - especially in the local mode. Otherwise you have to start a new console, and do a 'tail -f logs/hadoop.log', which seems like an awkward and complicated way to see if your command makes any progress or is stuck.
So, I would vote for adding stdout for now. I know it produces messy output, and a lot of it - perhaps we could exclude some stuff from stdout, like plugin repository loading, config parsing etc. But my feeling is that at least some info should be displayed on the console. could this be solved by just adding folowing line into conf/log4j.properties?
log4j.logger.org.apache.nutch.crawl.CrawlDbReader=INFO,stdout for me it produces following output to stdout: of course it would look more nice if we create another format for such cases also (perhaps remove some unneccessary info) i just committed some changes to log4j configuration for some command line tools to trunk, is this satisfactory solution to this problem from Nutch's side?
Works for me - no further complaints on my side. Thanks!
marking this as resolved because it is now working ok in single node config.
|
||||||||||||||||||||||||||||||||||||||||||||||||||