HDFS-7452. skip StandbyException log for getCorruptFiles() (Contributed by Bramha Reddy Battula)
(cherry picked from commit f313516731d787f6be64c9406ca83d941d47ee99) (cherry picked from commit 3e76768f216772dbb7e1ec2e9055eed57f45fee9)
This commit is contained in:
parent
4823fbb490
commit
8ca8d218a4
@ -1787,6 +1787,9 @@ Release 2.8.0 - UNRELEASED
|
||||
|
||||
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
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -6296,6 +6296,10 @@ public String getCorruptFiles() {
|
||||
list.add(c.toString());
|
||||
}
|
||||
}
|
||||
} catch (StandbyException e) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Get corrupt file blocks returned error: " + e.getMessage());
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Get corrupt file blocks returned error: " + e.getMessage());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user