Package org.apache.hadoop.hbase.exceptions

Examples of org.apache.hadoop.hbase.exceptions.RegionServerStoppedException


   *
   * @throws IOException
   */
  protected void checkOpen() throws IOException {
    if (this.stopped || this.abortRequested) {
      throw new RegionServerStoppedException("Server " + getServerName() +
        " not running" + (this.abortRequested ? ", aborting" : ""));
    }
    if (!fsOk) {
      throw new RegionServerStoppedException("File system not available");
    }
  }
View Full Code Here


              regionInfo.getRegionNameAsString() + " containing row " +
              Bytes.toStringBinary(row));
          }

          if (isDeadServer(serverName)){
            throw new RegionServerStoppedException(".META. says the region "+
                regionInfo.getRegionNameAsString()+" is managed by the server " + serverName +
                ", but it is dead.");
          }

          // Instantiate the location
View Full Code Here

    @Override
    public ClientProtocol getClient(final ServerName serverName)
        throws IOException {
      if (isDeadServer(serverName)){
        throw new RegionServerStoppedException("The server " + serverName + " is dead.");
      }
      return (ClientProtocol)
          getProtocol(serverName.getHostname(), serverName.getPort(), clientClass);
    }
View Full Code Here

    @Override
    public AdminProtocol getAdmin(final ServerName serverName, final boolean master)
        throws IOException {
      if (isDeadServer(serverName)){
        throw new RegionServerStoppedException("The server " + serverName + " is dead.");
      }
      return (AdminProtocol)getProtocol(
          serverName.getHostname(), serverName.getPort(), adminClass);
    }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.exceptions.RegionServerStoppedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.