HDFS-13863. FsDatasetImpl should log DiskOutOfSpaceException. Contributed by Fei Hui.
This commit is contained in:
parent
d53a10b0a5
commit
582cb10ec7
@ -1397,6 +1397,9 @@ public ReplicaHandler createRbw(
|
||||
datanode.getMetrics().incrRamDiskBlocksWrite();
|
||||
} catch (DiskOutOfSpaceException de) {
|
||||
// Ignore the exception since we just fall back to persistent storage.
|
||||
LOG.warn("Insufficient space for placing the block on a transient "
|
||||
+ "volume, fall back to persistent storage: "
|
||||
+ de.getMessage());
|
||||
} finally {
|
||||
if (ref == null) {
|
||||
cacheManager.release(b.getNumBytes());
|
||||
|
Loading…
Reference in New Issue
Block a user