[ http://issues.apache.org/jira/browse/NUTCH-307?page=comments#action_12416895 ]
Jerome Charron commented on NUTCH-307: -------------------------------------- Hi Stefan, Thanks for this feedback. In fact, as I mentioned in a previous mail (http://www.mail-archive.com/nutch-dev%40lucene.apache.org/msg03907.html) I had some hesitations about using the hadoop properties instead of introducing some nutch properties. I change this right now! > wrong configured log4j.properties > --------------------------------- > > Key: NUTCH-307 > URL: http://issues.apache.org/jira/browse/NUTCH-307 > Project: Nutch > Type: Bug > Reporter: Stefan Groschupf > Priority: Blocker > Fix For: 0.8-dev > > In nutch/conf is only one log4j.properties and it define: > log4j.appender.DRFA.File=${nutch.log.dir}/${nutch.log.file} > nutch.log.dir and nutch.log.file is only defined in the bin/nutch script. > In case of starting a distributed nutch instance with bin/start-all the > remove tasktracker crash with: > java.io.FileNotFoundException: / (Is a directory) > cr06: at java.io.FileOutputStream.openAppend(Native Method) > cr06: at java.io.FileOutputStream.<init>(FileOutputStream.java:177) > cr06: at java.io.FileOutputStream.<init>(FileOutputStream.java:102) > cr06: at org.apache.log4j.FileAppender.setFile(FileAppender.java:289) > cr06: at > org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163) > cr06: at > org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:215) > cr06: at > org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256) > since the hadoop scripts used to start the tasktrackers and datanodes never > define the nutch log properties but the log4j.properties require such a > definition. > I suggest to leave the log4j.properties as it is in hadoop but define the > hadoop property names in the bin/nutch script instead of intriduce new > variable names. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira