public void run() { try { namenode.keepAlive(dnRegistration); ns.lastBeingAlive = now(); LOG.debug("Sent heartbeat at " + ns.lastBeingAlive); } catch (Throwable ex) { LOG.error("Error sending keepAlive to the namenode", ex); } } }
public void run() { try { namenode.keepAlive(dnRegistration); ns.lastBeingAlive = now(); LOG.debug("Sent heartbeat at " + ns.lastBeingAlive); } catch (Throwable ex) { LOG.error("Error sending keepAlive to the namenode", ex); } } }