You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2015/08/14 21:13:45 UTC

[jira] [Updated] (SOLR-7928) Improve CheckIndex to work against HdfsDirectory

     [ 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

Attached is one possible approach. This adds a new command line tool, CheckHdfsIndex that builds the HdfsDirectory before passing it to the CheckIndex internals. This approach avoids adding a dependency from lucene to hdfs, leaving it only in solr, which may be more desirable than adding direct support in CheckIndex.

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