HDFS-4544. Error in deleting blocks should not do check disk, for all types of errors. Contributed by Arpit Agarwal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1453436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df68c56267
commit
456064d899
|
@ -349,6 +349,9 @@ Release 2.0.4-beta - UNRELEASED
|
||||||
HDFS-4540. Namenode http server should use the web authentication
|
HDFS-4540. Namenode http server should use the web authentication
|
||||||
keytab for spnego principal. (Arpit Gupta via suresh)
|
keytab for spnego principal. (Arpit Gupta via suresh)
|
||||||
|
|
||||||
|
HDFS-4544. Error in deleting blocks should not do check disk, for
|
||||||
|
all types of errors. (Arpit Agarwal via suresh)
|
||||||
|
|
||||||
Release 2.0.3-alpha - 2013-02-06
|
Release 2.0.3-alpha - 2013-02-06
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -538,7 +538,7 @@ class BPOfferService {
|
||||||
// using global fsdataset
|
// using global fsdataset
|
||||||
dn.getFSDataset().invalidate(bcmd.getBlockPoolId(), toDelete);
|
dn.getFSDataset().invalidate(bcmd.getBlockPoolId(), toDelete);
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
dn.checkDiskError();
|
// Exceptions caught here are not expected to be disk-related.
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
dn.metrics.incrBlocksRemoved(toDelete.length);
|
dn.metrics.incrBlocksRemoved(toDelete.length);
|
||||||
|
|
Loading…
Reference in New Issue