Package org.apache.accumulo.server.zookeeper

Examples of org.apache.accumulo.server.zookeeper.ZooCache


  }
 
  public CoordinateRecoveryTask(FileSystem fs) throws IOException {
    this.fs = fs;
    this.trash = new Trash(fs, fs.getConf());
    zcache = new ZooCache();
  }
View Full Code Here


              violations = new ArrayList<Short>();
            violations.add((short) 3);
          }
        } else if (new ColumnFQ(columnUpdate).equals(Constants.METADATA_LOCK_COLUMN)) {
          if (zooCache == null) {
            zooCache = new ZooCache();
          }
         
          if (zooRoot == null) {
            zooRoot = ZooUtil.getRoot(HdfsZooInstance.getInstance());
          }
View Full Code Here

    this(HdfsZooInstance.getInstance().getInstanceID());
  }
 
  public ZKAuthenticator(String instanceId) {
    ZKUserPath = Constants.ZROOT + "/" + instanceId + "/users";
    zooCache = new ZooCache();
  }
View Full Code Here

   
  }
 
  public synchronized ZooCache getZooCache() {
    if (zooCache == null)
      zooCache = new ZooCache(this);
    return zooCache;
  }
View Full Code Here

   
    void deadLogger(String address);
  }
 
  public TabletServerLoggers(LoggerWatcher watcher, AccumuloConfiguration conf) {
    cache = new ZooCache(conf, this);
    this.watcher = watcher;
  }
View Full Code Here

    return tableManager;
  }
 
  private TableManager() {
    instance = HdfsZooInstance.getInstance();
    zooStateCache = new ZooCache(new TableStateWatcher());
    updateTableStateCache();
  }
View Full Code Here

    }
  }
 
  public CoordinateRecoveryTask(FileSystem fs) {
    this.fs = fs;
    zcache = new ZooCache();
  }
View Full Code Here

      } catch (Exception ex) {
        log.fatal("Programmer error: cannot create a logger strategy.");
        throw new RuntimeException(ex);
      }
    }
    cache = new ZooCache();
   
  }
View Full Code Here

          if (!prevEndRowLessThanEndRow) {
            violations = addViolation(violations, 3);
          }
        } else if (new ColumnFQ(columnUpdate).equals(Constants.METADATA_LOCK_COLUMN)) {
          if (zooCache == null) {
            zooCache = new ZooCache();
          }
         
          if (zooRoot == null) {
            zooRoot = ZooUtil.getRoot(HdfsZooInstance.getInstance());
          }
View Full Code Here

   * @deprecated not for client use
   */
  @Deprecated
  public SecurityOperation(String instanceId) {
    ZKUserPath = Constants.ZROOT + "/" + instanceId + "/users";
    zooCache = new ZooCache();
  }
View Full Code Here

TOP

Related Classes of org.apache.accumulo.server.zookeeper.ZooCache

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.