Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1146 Prevent generation of _SUCCESS files in output

Julien Nioche5c669c050333
diff --git a/CHANGES.txt b/CHANGES.txt
index 1ff09c480..180eab157 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
Nutch Change Log
+* NUTCH-1146 Prevent generation of _SUCCESS files in output (jnioche)
+
* NUTCH-1232 Remove site field from index-basic (markus)
* NUTCH-1239 Webgraph should remove deleted pages from segment input (markus)
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index 5cb37a4f7..c07a2e53d 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -1165,6 +1165,15 @@
</description>
</property>
+<property>
+ <name>mapreduce.fileoutputcommitter.marksuccessfuljobs</name>
+ <value>false</value>
+ <description>Hadoop >= 0.21 generates SUCCESS files in the output which can crash
+ the readers. This should not be an issue once Nutch is ported to the new MapReduce API
+ but for now this parameter should prevent such cases.
+ </description>
+</property>
+
<!-- solr index properties -->
<property>