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/11/30 20:16:11 UTC

[jira] [Commented] (SOLR-8351) Improve HdfsDirectory toString representation

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

Mike Drob commented on SOLR-8351:
---------------------------------

It occurs to me that there might be some value in providing another abstract directory that both FSDirectory and HdfsDirectory could inherit from that would take care of any common functionality that they have. That's a more invasive fix and I'm not sure if that would impact usage of either one of them significantly.

> Improve HdfsDirectory toString representation
> ---------------------------------------------
>
>                 Key: SOLR-8351
>                 URL: https://issues.apache.org/jira/browse/SOLR-8351
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mike Drob
>             Fix For: Trunk
>
>         Attachments: SOLR-8351.patch
>
>
> HdfsDirectory's toString is used in logging by the DeletionPolicy and SnapPuller (and probably others). It would be useful to match what FSDirectory does, and print the directory it refers to.



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