Package org.apache.solr.common.cloud

Examples of org.apache.solr.common.cloud.ZooKeeperException


      return is;
    }

    @Override
    public String getConfigDir() {
      throw new ZooKeeperException(
          ErrorCode.SERVER_ERROR,
          "ZkSolrResourceLoader does not support getConfigDir() - likely, what you are trying to do is not supported in ZooKeeper mode");
    }
View Full Code Here


        list = zk.getChildren(configZkPath, false, null);
      } catch (InterruptedException e) {
        // Restore the interrupted status
        Thread.currentThread().interrupt();
        log.error("", e);
        throw new ZooKeeperException(SolrException.ErrorCode.SERVER_ERROR,
            "", e);
      } catch (KeeperException e) {
        log.error("", e);
        throw new ZooKeeperException(SolrException.ErrorCode.SERVER_ERROR,
            "", e);
      }
      return list.toArray(new String[0]);
    }
View Full Code Here

TOP

Related Classes of org.apache.solr.common.cloud.ZooKeeperException

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.