HDFS-5028. LeaseRenewer throws ConcurrentModificationException when timeout. Contributed by zhaoyunjiong
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1509565 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5b7889f9a7
commit
c04a7d974a
@ -288,6 +288,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||
|
||||
BUG FIXES
|
||||
|
||||
HDFS-5028. LeaseRenewer throws ConcurrentModificationException when timeout.
|
||||
(zhaoyunjiong via szetszwo)
|
||||
|
||||
Release 2.1.0-beta - 2013-08-06
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -449,8 +449,8 @@ private void run(final int id) throws InterruptedException {
|
||||
LOG.warn("Failed to renew lease for " + clientsString() + " for "
|
||||
+ (elapsed/1000) + " seconds. Aborting ...", ie);
|
||||
synchronized (this) {
|
||||
for(DFSClient c : dfsclients) {
|
||||
c.abort();
|
||||
while (!dfsclients.isEmpty()) {
|
||||
dfsclients.get(0).abort();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user