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

Zhihong Yu commented on HBASE-5136:
-----------------------------------

Can SplitLogManager maintain mapping from hash of logDirs to MonitoredTask ?
If hash of logDirs isn't found in this mapping, we create MonitoredTask.

@Prakash:
What do you think ?
                
> Redundant MonitoredTask instances in case of distributed log splitting retry
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-5136
>                 URL: https://issues.apache.org/jira/browse/HBASE-5136
>             Project: HBase
>          Issue Type: Task
>            Reporter: Zhihong Yu
>
> In case of log splitting retry, the following code would be executed multiple 
> times:
> {code}
>   public long splitLogDistributed(final List<Path> logDirs) throws 
> IOException {
>     MonitoredTask status = TaskMonitor.get().createStatus(
>           "Doing distributed log split in " + logDirs);
> {code}
> leading to multiple MonitoredTask instances.
> User may get confused by multiple distributed log splitting entries for the 
> same region server on master UI

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to