You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/29 22:08:41 UTC
[jira] [Commented] (NUTCH-2370) Saving mapping of dumped file to
URL
[ https://issues.apache.org/jira/browse/NUTCH-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947982#comment-15947982 ]
ASF GitHub Bot commented on NUTCH-2370:
---------------------------------------
GitHub user smadha opened a pull request:
https://github.com/apache/nutch/pull/180
fix for NUTCH-2370 contributed by msharan@usc.edu
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smadha/nutch NUTCH-2370
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/180.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #180
----
commit fd6f20e6dfc9a4a7bbad3478e6af4469d9449cca
Author: Madhav Sharan <go...@gmail.com>
Date: 2017-03-29T22:07:07Z
fix for NUTCH-2370 contributed by msharan@usc.edu
----
> Saving mapping of dumped file to URL
> ------------------------------------
>
> Key: NUTCH-2370
> URL: https://issues.apache.org/jira/browse/NUTCH-2370
> Project: Nutch
> Issue Type: Improvement
> Reporter: Madhav Sharan
> Priority: Minor
>
> - nutch dump [0] is a great tool to simply dump all the crawled files from nutch segments.
> - After dump we loose information about URL from which this file was crawled. URL is used to name dumped file but that information is encrypted.
> - In `reverseUrlDirs` option one can figure out URL by checking the file path but even accessing file path is little complicated than simple mapping file.
> - In `flatdir` there is no way to know actual URL.
> I am submitting a PR which edits [0] and saves a json for each crawled segment which maps a file path to URL.
> [0] https://github.com/apache/nutch/blob/3e2d3d456489bf52bc586dae0e2e71fb7aad8fe7/src/java/org/apache/nutch/tools/FileDumper.java
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)