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

Robert Muir commented on LUCENE-6073:
-------------------------------------

Yeah for the testing side, if there is a simple way to do it in junit, it would 
be good. This bug may have been introduced with routine maintenance/ refactoring


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to