[
https://issues.apache.org/jira/browse/NUTCH-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394527#comment-14394527
]
Hudson commented on NUTCH-1975:
-------------------------------
SUCCESS: Integrated in Nutch-trunk #3045 (See
[https://builds.apache.org/job/Nutch-trunk/3045/])
NUTCH-1975: New configuration for CommonCrawlDataDumper tool contributed by
Giuseppe Totaro. (mattmann:
http://svn.apache.org/viewvc/nutch/trunk/?view=rev&rev=1671077)
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/java/org/apache/nutch/tools/AbstractCommonCrawlFormat.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlConfig.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlDataDumper.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlFormatFactory.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlFormatJackson.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlFormatJettinson.java
* /nutch/trunk/src/java/org/apache/nutch/tools/CommonCrawlFormatSimple.java
* /nutch/trunk/src/java/org/apache/nutch/util/DumpFileUtil.java
> New configuration for CommonCrawlDataDumper tool
> ------------------------------------------------
>
> Key: NUTCH-1975
> URL: https://issues.apache.org/jira/browse/NUTCH-1975
> Project: Nutch
> Issue Type: Improvement
> Components: tool
> Affects Versions: 1.9
> Reporter: Giuseppe Totaro
> Assignee: Chris A. Mattmann
> Priority: Minor
> Fix For: 1.10
>
> Attachments: NUTCH-1975.patch, NUTCH-1975.v02.patch,
> NUTCH-1975.v03.patch
>
>
> Hi all, you can find in attachment a new patch including support for new
> options for {{CommonCrawlDataDumper}}.
> In particultar, new options are passed to {{CommonCrawlFormat}} object (which
> provides methods to create JSON output) using a configuration object
> ({{CommonCrawlConfig}}).
> In particular, in this patch {{CommonCrawlDataDumper}} provides support for
> the following options:
> * {{-SimpleDataFormat}}: enables timestamps in GMT epoche (milliseconds)
> format.
> * {{-epochFilename}}: files extracted will be organized in a reversed-NDS
> tree based on the FQDN of the webpage, followed by a SHA1 hash of the
> complete URL. Scraped data will be stored in these directories as individual
> GMT-timestamped files using "epoche time (in milliseconds)" plus file
> extension.
> * {{-jsonArray}}: organizes both request and response headers into a JSON
> array instead of using a JSON sub-object.
> *{{-reverseKey}}: enables to use the same layout as described for
> -epochFilename option, with underscore in place of directory separators.
> You can use the options above in addition to the options already supported,
> as described in the [Nutch
> wiki|https://wiki.apache.org/nutch/CommonCrawlDataDumper] page.
> This patch starts from
> [NUTCH-1974|https://issues.apache.org/jira/browse/NUTCH-1974].
> Thanks [~chrismattmann] and [~annieburgess] for supporting me on this work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)