Hi,
While going over TableServers.isMasterRunning() in HConnectionManager, I see
this:
    public boolean isMasterRunning() {
      if (this.master == null) {
        try {
          getMaster();

        } catch (MasterNotRunningException e) {
          return false;
        }
      }
      return true;
    }
When isMasterRunning() is called the first time, if master is obtained
successfully, master field would contain reference to HMasterInterface.
Subsequent calls to isMasterRunning() wouldn't throw
MasterNotRunningException even if master server stops responding to clients.

I think master.isMasterRunning() should be called if master isn't null.

Regards

Reply via email to