nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Gullo (JIRA)" <>
Subject [jira] [Commented] (NUTCH-2259) Nutch 2.x HBase Docker requires a logs folder to run exception free
Date Sun, 15 May 2016 02:24:12 GMT


Diego Gullo commented on NUTCH-2259:

Hi [~lewismc]
my PR was a good little input. But with the wrong output. Docker build was not working because
the /opt/nutch link is created later in the file. I have moved this around. 
Added a commit in my repo
with this Jira ticket and going to create a new PR.

Also I have spotted a few different bad practices in the docker files. Once I will manage
to run the container and spin Nutch I will progressively change the Docker file with new PRs.

Image is now available at or by running docker
pull diegogullo/nutch:2

An example of docker compose (as per my previous email in the malinglist)

> Nutch 2.x HBase Docker requires a logs folder to run exception free
> -------------------------------------------------------------------
>                 Key: NUTCH-2259
>                 URL:
>             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.
> /opt/nutch/logs/hadoop.log (No such file or directory)
>     at Method)
>     at<init>(
>     at<init>(
>     at org.apache.log4j.FileAppender.setFile(
>     at org.apache.log4j.FileAppender.activateOptions(
>     at org.apache.log4j.DailyRollingFileAppender.activateOptions(
>     at org.apache.log4j.config.PropertySetter.activate(
>     at org.apache.log4j.config.PropertySetter.setProperties(
>     at org.apache.log4j.config.PropertySetter.setProperties(
>     at org.apache.log4j.PropertyConfigurator.parseAppender(
>     at org.apache.log4j.PropertyConfigurator.parseCategory(
>     at org.apache.log4j.PropertyConfigurator.configureRootCategory(
>     at org.apache.log4j.PropertyConfigurator.doConfigure(
>     at org.apache.log4j.PropertyConfigurator.doConfigure(
>     at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(
>     at org.apache.log4j.LogManager.<clinit>(
>     at org.slf4j.impl.Log4jLoggerFactory.getLogger(
>     at org.slf4j.LoggerFactory.getLogger(
>     at org.slf4j.LoggerFactory.getLogger(
>     at org.apache.nutch.crawl.InjectorJob.<clinit>(
> log4j:ERROR Either File or DatePattern options are not set for appender [DRFA].
> {code}

This message was sent by Atlassian JIRA

View raw message