Example #1
0
 /**
  * Updates the location of the specified region in META to be the specified server hostname and
  * startcode.
  *
  * <p>Uses passed catalog tracker to get a connection to the server hosting META and makes edits
  * to that region.
  *
  * @param catalogTracker catalog tracker
  * @param regionInfo region to update location of
  * @param sn Server name
  * @throws IOException
  */
 public static void updateRegionLocation(
     CatalogTracker catalogTracker, HRegionInfo regionInfo, ServerName sn) throws IOException {
   updateLocation(catalogTracker, regionInfo, sn);
 }