[ 
https://issues.apache.org/jira/browse/LUCENE-6073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222362#comment-14222362
 ] 

ASF GitHub Bot commented on LUCENE-6073:
----------------------------------------

GitHub user andyetitmoves opened a pull request:

    https://github.com/apache/lucene-solr/pull/106

    Fix directory deletion in ExtractReuters, recover from errors

    Patch for LUCENE-6073.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bloomberg/lucene-solr 
trunk-fix-extract-reuters

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/106.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 #106
    
----
commit 8302ffe0004011b0130a714b2777eb3343a0f244
Author: Ramkumar Aiyengar <andyetitmo...@gmail.com>
Date:   2014-11-12T16:31:15Z

    Fix directory deletion in ExtractReuters, recover from errors

----


> Fix directory deletion in ExtractReuters, recover from errors
> -------------------------------------------------------------
>
>                 Key: LUCENE-6073
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6073
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/benchmark
>            Reporter: Ramkumar Aiyengar
>            Priority: Minor
>
> ExtractReuters in the benchmark module currently fails because it currently 
> creates the output directory, and then calls {{IOUtils.rm}} on it (which will 
> remove all files in it as well as removes the output directory itself). This 
> is to fix this behaviour.
> While I was at it, I also added a bit more logging in case of file errors 
> (the download I had some bad data) and made the task recover in case of 
> issues with one file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to