You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/09/12 19:58:20 UTC
[jira] [Resolved] (HBASE-16602) Avoid creating Connection in
BackupLogCleaner#getDeletableFiles()
[ https://issues.apache.org/jira/browse/HBASE-16602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu resolved HBASE-16602.
----------------------------
Resolution: Fixed
Thanks for the review, Vlad.
> Avoid creating Connection in BackupLogCleaner#getDeletableFiles()
> -----------------------------------------------------------------
>
> Key: HBASE-16602
> URL: https://issues.apache.org/jira/browse/HBASE-16602
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Labels: backup
> Attachments: 16602.v1.txt
>
>
> Here is the TODO item:
> {code}
> // TODO: LogCleaners do not have a way to get the Connection from Master. We should find a
> // way to pass it down here, so that this connection is not re-created every time.
> // It is expensive
> {code}
> We can utilize the facility added by HBASE-16490:
> retrieve connection from MasterServices passed in init() method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)