lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11873) Use time based expiration cache in all places in HdfsDirectoryFactory
Date Wed, 24 Jan 2018 06:05:00 GMT

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

ASF GitHub Bot commented on SOLR-11873:
---------------------------------------

GitHub user misutoth opened a pull request:

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

    SOLR-11873: Use a time based expiration cache for one off HDFS FileSy…

    …stem instances in all functions.

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

    $ git pull https://github.com/misutoth/lucene-solr master-hdfsfix

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

    https://github.com/apache/lucene-solr/pull/311.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 #311
    
----
commit 53ba8bd68f025aa786c40e407b29f354bd12e7f5
Author: Mihaly Toth <misutoth@...>
Date:   2018-01-23T18:58:11Z

    SOLR-11873: Use a time based expiration cache for one off HDFS FileSystem instances in
all functions.

----


> Use time based expiration cache in all places in HdfsDirectoryFactory
> ---------------------------------------------------------------------
>
>                 Key: SOLR-11873
>                 URL: https://issues.apache.org/jira/browse/SOLR-11873
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: hdfs
>    Affects Versions: 7.2
>            Reporter: Mihaly Toth
>            Priority: Major
>
> {{HdfsDirectoryFactory.exists()}} method already applies caching on FileSystem objects.
This is not done yet in the {{size()}} method.
> This function is eventually used when querying the core status. Each and every query
will use the same configuration and start from the first configured HDFS NameNode. If that
is down Solr will always access this down node first without "learning".
> It would be nice to apply the same caching on that function too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message