Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-1178 Incorrect CSV header CrawlDatumCsvOutputFormat

Markus Jelsma71282dbd9b09
diff --git a/CHANGES.txt b/CHANGES.txt
index 1aae29922..32e249357 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
Nutch Change Log
+* NUTCH-1178 Incorrect CSV header CrawlDatumCsvOutputFormat (markus)
+
* NUTCH-1142 Normalization and filtering in WebGraph (markus)
* NUTCH-1153 LinkRank not to log all keys and not to write Hadoop _SUCCESS file (markus)
diff --git a/src/java/org/apache/nutch/crawl/CrawlDbReader.java b/src/java/org/apache/nutch/crawl/CrawlDbReader.java
index 282ff1407..d085570ee 100644
--- a/src/java/org/apache/nutch/crawl/CrawlDbReader.java
+++ b/src/java/org/apache/nutch/crawl/CrawlDbReader.java
@@ -100,7 +100,7 @@ public class CrawlDbReader implements Closeable {
public LineRecordWriter(DataOutputStream out) {
this.out = out;
try {
- out.writeBytes("Url;Status code;Status name;Fetch Time;Modified Time;Retries since fetch;Retry interval;Score;Signature;Metadata\n");
+ out.writeBytes("Url;Status code;Status name;Fetch Time;Modified Time;Retries since fetch;Retry interval seconds;Retry interval days;Score;Signature\n");
} catch (IOException e) {}
}