You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramkumar Aiyengar (JIRA)" <ji...@apache.org> on 2014/11/23 14:24:12 UTC

[jira] [Created] (LUCENE-6073) Fix directory deletion in ExtractReuters, recover from errors

Ramkumar Aiyengar created LUCENE-6073:
-----------------------------------------

             Summary: 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org