Package org.apache.hadoop.hbase

Examples of org.apache.hadoop.hbase.TableNotEnabledException


          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getNameAsString() + " to be enabled");
  }
View Full Code Here


          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getTableName() + " to be enabled");
  }
View Full Code Here

          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getNameAsString() + " to be enabled");
  }
View Full Code Here

    {
      try {
        if (!this.assignmentManager.getZKTable().checkEnabledAndSetDisablingTable
          (this.tableNameStr)) {
          LOG.info("Table " + tableNameStr + " isn't enabled; skipping disable");
          throw new TableNotEnabledException(this.tableNameStr);
        }
      } catch (KeeperException e) {
        throw new IOException("Unable to ensure that the table will be" +
          " disabling because of a ZooKeeper issue", e);
      }
View Full Code Here

          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getTableName() + " to be enabled");
  }
View Full Code Here

        final byte [] row) throws IOException{
      // Since this is an explicit request not to use any caching, finding
      // disabled tables should not be desirable.  This will ensure that an exception is thrown when
      // the first time a disabled table is interacted with.
      if (isTableDisabled(tableName)) {
        throw new TableNotEnabledException(tableName.getNameAsString() + " is disabled.");
      }

      return locateRegion(tableName, row, false, true);
    }
View Full Code Here

          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getNameAsString() + " to be enabled");
  }
View Full Code Here

          throw new InterruptedIOException("Interrupted when waiting" +
            " for table to be enabled; meta scan was done");
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getNameAsString() + " to be enabled");
  }
View Full Code Here

        } else if (isTableEnabled(desc.getName())) {
          return;
        }
      }
    }
    throw new TableNotEnabledException(
      "Retries exhausted while still waiting for table: "
      + desc.getNameAsString() + " to be enabled");
  }
View Full Code Here

    {
      try {
        if (!this.assignmentManager.getZKTable().checkEnabledAndSetDisablingTable
          (this.tableNameStr)) {
          LOG.info("Table " + tableNameStr + " isn't enabled; skipping disable");
          throw new TableNotEnabledException(this.tableNameStr);
        }
      } catch (KeeperException e) {
        throw new IOException("Unable to ensure that the table will be" +
          " disabling because of a ZooKeeper issue", e);
      }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.TableNotEnabledException

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.