You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/05/13 03:08:57 UTC
[jira] Commented: (HADOOP-3375) Lease paths are sometimes not
removed from LeaseManager.sortedLeasesByPath
[ https://issues.apache.org/jira/browse/HADOOP-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596248#action_12596248 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-3375:
------------------------------------------------
Also, lease related structure should store names and paths as String instead of StringBytesWritable. It will prevent unnecessary converting between String and StringBytesWritable.
> Lease paths are sometimes not removed from LeaseManager.sortedLeasesByPath
> --------------------------------------------------------------------------
>
> Key: HADOOP-3375
> URL: https://issues.apache.org/jira/browse/HADOOP-3375
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> In LeaseManager,
> - removeExpiredLease(Lease) does not remove paths from sortedLeasesByPath
> - removeLease(...) should do sortedLeasesByPath.remove(src) no matter lease.hasPath() returns true or false.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.