[EMAIL PROTECTED] wrote:
...
       // Now ask master what it wants us to do and tell it what we have done
       for (int tries = 0; !stopRequested.get() && isHealthy();) {
- // Try to get the root region location from the master. - if (!haveRootRegion.get()) {
+        // Try to get the root region location from the master.
           HServerAddress rootServer = hbaseMaster.getRootRegionLocation();

Every time we want to send the regionserver heartbeat, we first ask for the location of the root region? No caching of the root region and we now do two trips to the master on every heartbeat? Am I reading this right?
St.Ack

Reply via email to