HDFS-16947. RBF NamenodeHeartbeatService to report error for not being able to register namenode in state store (#5470)
This commit is contained in:
parent
cf4a678ce9
commit
15935fa865
|
@ -317,11 +317,8 @@ public class NamenodeHeartbeatService extends PeriodicService {
|
||||||
if (!resolver.registerNamenode(report)) {
|
if (!resolver.registerNamenode(report)) {
|
||||||
LOG.warn("Cannot register namenode {}", report);
|
LOG.warn("Cannot register namenode {}", report);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
LOG.info("Cannot register namenode in the State Store");
|
LOG.error("Cannot register namenode {} in the State Store", getNamenodeDesc(), e);
|
||||||
} catch (Exception ex) {
|
|
||||||
LOG.error("Unhandled exception updating NN registration for {}",
|
|
||||||
getNamenodeDesc(), ex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue