Examples of TakeSnapshotRequest


Examples of org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos.TakeSnapshotRequest

   * @throws IllegalArgumentException if the snapshot request is formatted incorrectly
   */
  public TakeSnapshotResponse takeSnapshotAsync(SnapshotDescription snapshot) throws IOException,
      SnapshotCreationException {
    ClientSnapshotDescriptionUtils.assertSnapshotRequestIsValid(snapshot);
    final TakeSnapshotRequest request = TakeSnapshotRequest.newBuilder().setSnapshot(snapshot)
        .build();
    // run the snapshot on the master
    return executeCallable(new MasterAdminCallable<TakeSnapshotResponse>(getConnection()) {
      @Override
      public TakeSnapshotResponse call() throws ServiceException {
View Full Code Here

Examples of org.apache.hadoop.hbase.protobuf.generated.MasterAdminProtos.TakeSnapshotRequest

   * @throws IllegalArgumentException if the snapshot request is formatted incorrectly
   */
  public TakeSnapshotResponse takeSnapshotAsync(SnapshotDescription snapshot) throws IOException,
      SnapshotCreationException {
    ClientSnapshotDescriptionUtils.assertSnapshotRequestIsValid(snapshot);
    final TakeSnapshotRequest request = TakeSnapshotRequest.newBuilder().setSnapshot(snapshot)
        .build();
    // run the snapshot on the master
    return execute(new MasterAdminCallable<TakeSnapshotResponse>() {
      @Override
      public TakeSnapshotResponse call() throws ServiceException {
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.