You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2016/05/14 18:55:12 UTC
[jira] [Commented] (NUTCH-2259) Nutch 2.x HBase Docker requires a
logs folder to run exception free
[ https://issues.apache.org/jira/browse/NUTCH-2259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283643#comment-15283643 ]
Lewis John McGibbney commented on NUTCH-2259:
---------------------------------------------
PR is available at https://github.com/apache/nutch/pull/109
> Nutch 2.x HBase Docker requires a logs folder to run exception free
> -------------------------------------------------------------------
>
> Key: NUTCH-2259
> URL: https://issues.apache.org/jira/browse/NUTCH-2259
> Project: Nutch
> Issue Type: Bug
> Components: docker
> Affects Versions: 2.3.1
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Fix For: 2.4
>
>
> When running an inject
> {code}
> hduser@028ce34179ee:/opt/nutch$ bin/nutch inject urls/seed.txt
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /opt/nutch/logs/hadoop.log (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:142)
> at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
> at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
> at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
> at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
> at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
> at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
> at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
> at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
> at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
> at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
> at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
> at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
> at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
> at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:66)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:277)
> at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
> at org.apache.nutch.crawl.InjectorJob.<clinit>(InjectorJob.java:64)
> log4j:ERROR Either File or DatePattern options are not set for appender [DRFA].
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)