You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2006/10/24 18:16:45 UTC

[jira] Closed: (NUTCH-307) wrong configured log4j.properties

     [ http://issues.apache.org/jira/browse/NUTCH-307?page=all ]

Sami Siren closed NUTCH-307.
----------------------------


> wrong configured log4j.properties
> ---------------------------------
>
>                 Key: NUTCH-307
>                 URL: http://issues.apache.org/jira/browse/NUTCH-307
>             Project: Nutch
>          Issue Type: Bug
>            Reporter: Stefan Groschupf
>         Assigned To: Jerome Charron
>            Priority: Blocker
>             Fix For: 0.8
>
>
> 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