You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Da...@scb.se on 2015/11/12 11:39:24 UTC
help with nutch installation
Hi all,
I am new for Ubuntu and nutch. I tried to install nutch and Mongodb. Now Mongodb is running, but I cannot build successfully Nutch. Here is my data, MANY THANKS FOR YOUR HELP!
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
java version "1.7.0_85"
OpenJDK Runtime Environment (IcedTea 2.6.1) (7u85-2.6.1-5ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.85-b03, mixed mode)
Mongodb 3.0.7
dan@dan-inlab:~$ mongo mytestdatabase
MongoDB shell version: 3.0.7
connecting to: mytestdatabase
Server has startup warnings:
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten]
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten]
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2015-11-12T11:28:31.421+0100 I CONTROL [initandlisten]
nutch 2.3
in "gora.properties"
gora.datastore.default=org.apache.gora.mongodb.store.MongoStore
gora.mongodb.override_hadoop_configuration=false
gora.mongodb.mapping.file=/gora-mongodb-mapping.xml
gora.mongodb.servers=localhost:27017
gora.mongodb.db=mytestdatabase
gora.mongodb.login=login
gora.mongodb.secret=secret
Error information from cleaning and building nutch
dan@dan-inlab:~/apache-nutch-2.3$ ant clean
Buildfile: /home/dan/apache-nutch-2.3/build.xml
Trying to override old definition of task javac
[taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
clean-build:
[delete] Deleting directory /home/dan/apache-nutch-2.3/build
BUILD FAILED
/home/dan/apache-nutch-2.3/build.xml:841: Unable to delete file /home/dan/apache-nutch-2.3/build/microformats-reltag/test/data/microformats_reltag_test.html
Total time: 0 seconds
dan@dan-inlab:~/apache-nutch-2.3$ ant runtime
Buildfile: /home/dan/apache-nutch-2.3/build.xml
Trying to override old definition of task javac
[taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
ivy-probe-antlib:
ivy-download:
[taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not be found.
ivy-download-unchecked:
ivy-init-antlib:
ivy-init:
init:
clean-lib:
[delete] Deleting directory /home/dan/apache-nutch-2.3/build/lib
BUILD FAILED
/home/dan/apache-nutch-2.3/build.xml:836: Unable to delete file /home/dan/apache-nutch-2.3/build/lib/wicket-webjars-0.4.0.jar
Total time: 0 seconds
Dan