[ https://issues.apache.org/jira/browse/SOLR-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340601#comment-16340601 ]
Mark Miller commented on SOLR-11873: ------------------------------------ Looks great [~miska]! I'll commit this shortly. > 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 > Assignee: Mark Miller > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org