[ http://issues.apache.org/jira/browse/NUTCH-285?page=all
a> ]
Dennis Kubes updated NUTCH-285:
-------------------------------
Attachment: create_linkdb_dirs.patch
Patch to add mkdirs call to install method of LinkDb to
ensure parent directories exist before attempting rename.
> LinkDb Fails rename doesn't create parent directories
> -----------------------------------------------------
>
> Key: NUTCH-285
> URL: http:/
/issues.apache.org/jira/browse/NUTCH-285
> Project: Nutch
> Type: Bug
> Versions: 0.8-dev
> Environment: Windows XP Media Center 2005, Fedora Core
5, Java 5, DFS
> Reporter: Dennis Kubes
> Attachments: create_linkdb_dirs.patch
>
> The LinkDb install method fails to correctly rename
(move) the LinkDb working directory to the final directory
if the parent directories do not exist.
> For example if I am creating a linkdb by the name of
crawl/linkdb the install method trys to rename the working
linkdb directory (something like linkdb-20060523 in root of
DFS) to crawl/linkdb/current. But if the crawl/linkdb
directory does not already exist then the rename fails and
the linkdb-20060523 working directory stays in the root
directory of the DFS for the user.
> The attached patch adds a mkdirs command to the install
method to ensure that the parent directories exist before
trying to rename.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atl
assian.com/software/jira
|