I am running into an issue getting nutch logging to work. Any help would be
very much appreciated.
Configuration:
2 servers Nutch/hadoop configuration with one master and both servers as
slave.
Nutch logging throws the following exception:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /nutch/search/logs (Is a directory)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.j
ava:215)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
I checked all processes created during start-all.sh and all of them have
-Dhadoop.log.dir=/nutch/search/logs
-Dhadoop.log.file=hadoop-nutch-tasktracker-nodetest1.log
-Dhadoop.home.dir=/nutch/search -Dhadoop.root.logger=INFO,DRFA
PLEASE HELP !!
--
View this message in context:
http://www.nabble.com/Nutch-logger-does-not-work-tf4536812.html#a12948630
Sent from the Nutch - User mailing list archive at Nabble.com.