Examples of TableNotEnabledException


Examples of org.apache.hadoop.hbase.TableNotEnabledException

        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

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.getTableName() + " to be enabled");
  }
View Full Code Here

Examples of org.apache.hadoop.hbase.TableNotEnabledException

      if (!skipTableStateCheck) {
        try {
          if (!this.assignmentManager.getZKTable().checkEnabledAndSetDisablingTable
            (this.tableName)) {
            LOG.info("Table " + tableName + " isn't enabled; skipping disable");
            throw new TableNotEnabledException(this.tableName);
          }
        } 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

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

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

Examples of org.apache.hadoop.hbase.TableNotEnabledException

      if (!skipTableStateCheck) {
        if (!this.assignmentManager.getTableStateManager().setTableStateIfInStates(
          this.tableName, TableState.State.DISABLING,
          TableState.State.ENABLED)) {
          LOG.info("Table " + tableName + " isn't enabled; skipping disable");
          throw new TableNotEnabledException(this.tableName);
        }
      }
      success = true;
    } finally {
      if (!success) {
View Full Code Here

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

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

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

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
TOP
Copyright © 2018 www.massapi.com. 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.