[ 
https://issues.apache.org/jira/browse/SOLR-7928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Drob updated SOLR-7928:
----------------------------
    Attachment: SOLR-7928.patch

Modified the patch to delete the directory between every test. I wasn't getting 
the same failures as you were, Greg, but I suspect that this will take care of 
them and is much faster than the alternative approach of starting up a new DFS 
Cluster each time.

Added a couple more javadocs in addition to what you had. precommit is still 
failing on {{build/docs/core/org/apache/lucene/index/CheckIndex.Options.html    
  missing Constructors: Options--}}, but I'm not sure how to cleanly address 
that. There is no constructor defined, so the docs must be picking up the 
default one, which we can't document since it doesn't exist...

> Improve CheckIndex to work against HdfsDirectory
> ------------------------------------------------
>
>                 Key: SOLR-7928
>                 URL: https://issues.apache.org/jira/browse/SOLR-7928
>             Project: Solr
>          Issue Type: New Feature
>          Components: hdfs
>            Reporter: Mike Drob
>            Assignee: Gregory Chanan
>             Fix For: 5.4, Trunk
>
>         Attachments: SOLR-7928.patch, SOLR-7928.patch, SOLR-7928.patch, 
> SOLR-7928.patch, SOLR-7928.patch, SOLR-7928.patch, SOLR-7928.patch
>
>
> CheckIndex is very useful for testing an index for corruption. However, it 
> can only work with an index on an FSDirectory, meaning that if you need to 
> check an Hdfs Index, then you have to download it to local disk (which can be 
> very large).
> We should have a way to natively check index on hdfs for corruption.



--
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