HDFS-7452. skip StandbyException log for getCorruptFiles() (Contributed by Bramha Reddy Battula)
This commit is contained in:
parent
b68901d7dd
commit
f313516731
|
@ -2804,6 +2804,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
|
|
||||||
HDFS-9839. Reduce verbosity of processReport logging. (Arpit Agarwal)
|
HDFS-9839. Reduce verbosity of processReport logging. (Arpit Agarwal)
|
||||||
|
|
||||||
|
HDFS-7452. skip StandbyException log for getCorruptFiles()
|
||||||
|
(Bramha Reddy Battula via vinayakumarb)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -5596,6 +5596,10 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
||||||
list.add(c.toString());
|
list.add(c.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (StandbyException e) {
|
||||||
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Get corrupt file blocks returned error: " + e.getMessage());
|
||||||
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Get corrupt file blocks returned error: " + e.getMessage());
|
LOG.warn("Get corrupt file blocks returned error: " + e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue