HDFS-7757. Misleading error messages in FSImage.java. (Contributed by Brahma Reddy Battula)
This commit is contained in:
parent
4228de9402
commit
1004473aa6
|
@ -1074,6 +1074,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7871. NameNodeEditLogRoller can keep printing "Swallowing exception"
|
HDFS-7871. NameNodeEditLogRoller can keep printing "Swallowing exception"
|
||||||
message. (jing9)
|
message. (jing9)
|
||||||
|
|
||||||
|
HDFS-7757. Misleading error messages in FSImage.java. (Brahma Reddy Battula
|
||||||
|
via Arpit Agarwal)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
BREAKDOWN OF HDFS-7584 SUBTASKS AND RELATED JIRAS
|
||||||
|
|
||||||
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
HDFS-7720. Quota by Storage Type API, tools and ClientNameNode
|
||||||
|
|
|
@ -883,7 +883,7 @@ public class FSImage implements Closeable {
|
||||||
final long namespace = counts.getNameSpace() - parentNamespace;
|
final long namespace = counts.getNameSpace() - parentNamespace;
|
||||||
final long nsQuota = q.getNameSpace();
|
final long nsQuota = q.getNameSpace();
|
||||||
if (Quota.isViolated(nsQuota, namespace)) {
|
if (Quota.isViolated(nsQuota, namespace)) {
|
||||||
LOG.error("BUG: Namespace quota violation in image for "
|
LOG.warn("Namespace quota violation in image for "
|
||||||
+ dir.getFullPathName()
|
+ dir.getFullPathName()
|
||||||
+ " quota = " + nsQuota + " < consumed = " + namespace);
|
+ " quota = " + nsQuota + " < consumed = " + namespace);
|
||||||
}
|
}
|
||||||
|
@ -891,7 +891,7 @@ public class FSImage implements Closeable {
|
||||||
final long ssConsumed = counts.getStorageSpace() - parentStoragespace;
|
final long ssConsumed = counts.getStorageSpace() - parentStoragespace;
|
||||||
final long ssQuota = q.getStorageSpace();
|
final long ssQuota = q.getStorageSpace();
|
||||||
if (Quota.isViolated(ssQuota, ssConsumed)) {
|
if (Quota.isViolated(ssQuota, ssConsumed)) {
|
||||||
LOG.error("BUG: Storagespace quota violation in image for "
|
LOG.warn("Storagespace quota violation in image for "
|
||||||
+ dir.getFullPathName()
|
+ dir.getFullPathName()
|
||||||
+ " quota = " + ssQuota + " < consumed = " + ssConsumed);
|
+ " quota = " + ssQuota + " < consumed = " + ssConsumed);
|
||||||
}
|
}
|
||||||
|
@ -903,7 +903,7 @@ public class FSImage implements Closeable {
|
||||||
parentTypeSpaces.get(t);
|
parentTypeSpaces.get(t);
|
||||||
final long typeQuota = q.getTypeSpaces().get(t);
|
final long typeQuota = q.getTypeSpaces().get(t);
|
||||||
if (Quota.isViolated(typeQuota, typeSpace)) {
|
if (Quota.isViolated(typeQuota, typeSpace)) {
|
||||||
LOG.error("BUG: Storage type quota violation in image for "
|
LOG.warn("Storage type quota violation in image for "
|
||||||
+ dir.getFullPathName()
|
+ dir.getFullPathName()
|
||||||
+ " type = " + t.toString() + " quota = "
|
+ " type = " + t.toString() + " quota = "
|
||||||
+ typeQuota + " < consumed " + typeSpace);
|
+ typeQuota + " < consumed " + typeSpace);
|
||||||
|
|
Loading…
Reference in New Issue