Example #1
0
 public void restartStandby() throws IOException {
   checkSingleNameNode();
   restartStandby(0);
 }
Example #2
0
 public void failOver() throws IOException {
   checkSingleNameNode();
   failOver(0);
 }
Example #3
0
 public void killStandby() throws IOException {
   checkSingleNameNode();
   killStandby(0);
 }
Example #4
0
 public void killPrimary(boolean clearZK) throws IOException {
   checkSingleNameNode();
   killPrimary(0, clearZK);
 }
Example #5
0
 /**
  * Kill the primary avatar node.
  *
  * @param updateZK clear zookeeper?
  */
 public void killPrimary() throws IOException {
   checkSingleNameNode();
   killPrimary(0, true);
 }
Example #6
0
 public DistributedAvatarFileSystem getFileSystem() throws IOException {
   checkSingleNameNode();
   return getFileSystem(0);
 }