Apache Nutch is an extensible and scalable web crawler
NUTCH-611 - Upgrade Nutch to use Hadoop 0.16. This upgrade removes the deprecated addDefaultResouce and addFinalResource methods. Should now use addResource. Two scripts start-balancer.sh and stop-balancer.sh are added to the bin directory.
Dennis Kubes1add01357223
diff --git a/CHANGES.txt b/CHANGES.txtindex 54066e8f5..dd8a5c831 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -210,6 +210,8 @@ Unreleased changes (1.0-dev)75. NUTCH-603 - Add more default url normalizations (kubes)+76. NUTCH-611 - Upgrade Nutch to use Hadoop 0.16 (kubes)+Release 0.9 - 2007-04-021. Changed log4j confiquration to log to stdout on commandlinediff --git a/bin/start-balancer.sh b/bin/start-balancer.shnew file mode 100755index 000000000..c55c0a95f--- /dev/null+++ b/bin/start-balancer.sh@@ -0,0 +1,21 @@+#!/usr/bin/env bash++# Licensed to the Apache Software Foundation (ASF) under one or more+# contributor license agreements. See the NOTICE file distributed with+# this work for additional information regarding copyright ownership.+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+++# Start balancer daemon.++hadoop-daemon.sh start balancer $@diff --git a/bin/stop-balancer.sh b/bin/stop-balancer.shnew file mode 100755index 000000000..9cfdbcff3--- /dev/null+++ b/bin/stop-balancer.sh@@ -0,0 +1,22 @@+#!/usr/bin/env bash++# Licensed to the Apache Software Foundation (ASF) under one or more+# contributor license agreements. See the NOTICE file distributed with+# this work for additional information regarding copyright ownership.+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+++# Stop balancer daemon.+# Run this on the machine where the balancer is running++hadoop-daemon.sh stop balancerdiff --git a/lib/hadoop-0.15.3-core.jar b/lib/hadoop-0.15.3-core.jardeleted file mode 100644index e11390402..000000000Binary files a/lib/hadoop-0.15.3-core.jar and /dev/null differdiff --git a/lib/hadoop-0.16.0-core.jar b/lib/hadoop-0.16.0-core.jarnew file mode 100644index 000000000..1ead30494Binary files /dev/null and b/lib/hadoop-0.16.0-core.jar differdiff --git a/lib/native/Linux-amd64-64/libhadoop.a b/lib/native/Linux-amd64-64/libhadoop.aindex 1dddea630..acaf946fc 100644Binary files a/lib/native/Linux-amd64-64/libhadoop.a and b/lib/native/Linux-amd64-64/libhadoop.a differdiff --git a/lib/native/Linux-amd64-64/libhadoop.so b/lib/native/Linux-amd64-64/libhadoop.soindex 2c41b5a47..ef73cab9c 100644Binary files a/lib/native/Linux-amd64-64/libhadoop.so and b/lib/native/Linux-amd64-64/libhadoop.so differdiff --git a/lib/native/Linux-amd64-64/libhadoop.so.1 b/lib/native/Linux-amd64-64/libhadoop.so.1index 2c41b5a47..ef73cab9c 100644Binary files a/lib/native/Linux-amd64-64/libhadoop.so.1 and b/lib/native/Linux-amd64-64/libhadoop.so.1 differdiff --git a/lib/native/Linux-amd64-64/libhadoop.so.1.0.0 b/lib/native/Linux-amd64-64/libhadoop.so.1.0.0index 2c41b5a47..ef73cab9c 100644Binary files a/lib/native/Linux-amd64-64/libhadoop.so.1.0.0 and b/lib/native/Linux-amd64-64/libhadoop.so.1.0.0 differdiff --git a/lib/native/Linux-i386-32/libhadoop.a b/lib/native/Linux-i386-32/libhadoop.aindex 72858aef1..b3ae2940a 100644Binary files a/lib/native/Linux-i386-32/libhadoop.a and b/lib/native/Linux-i386-32/libhadoop.a differdiff --git a/lib/native/Linux-i386-32/libhadoop.so b/lib/native/Linux-i386-32/libhadoop.soindex 42c309319..bf854a59e 100644Binary files a/lib/native/Linux-i386-32/libhadoop.so and b/lib/native/Linux-i386-32/libhadoop.so differdiff --git a/lib/native/Linux-i386-32/libhadoop.so.1 b/lib/native/Linux-i386-32/libhadoop.so.1index 42c309319..bf854a59e 100644Binary files a/lib/native/Linux-i386-32/libhadoop.so.1 and b/lib/native/Linux-i386-32/libhadoop.so.1 differdiff --git a/lib/native/Linux-i386-32/libhadoop.so.1.0.0 b/lib/native/Linux-i386-32/libhadoop.so.1.0.0index 42c309319..bf854a59e 100644Binary files a/lib/native/Linux-i386-32/libhadoop.so.1.0.0 and b/lib/native/Linux-i386-32/libhadoop.so.1.0.0 differdiff --git a/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java b/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.javaindex 3226853ff..9c3fb7056 100644--- a/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java+++ b/src/plugin/protocol-httpclient/src/test/org/apache/nutch/protocol/httpclient/TestProtocolHttpClient.java@@ -54,7 +54,7 @@ public class TestProtocolHttpClient extends TestCase {server.addContext(context);conf = new Configuration();- conf.addDefaultResource("nutch-default.xml");+ conf.addResource("nutch-default.xml");conf.addResource("nutch-site-test.xml");http = new Http();