Tabnine Logo
CuratorService.getConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
getConfig
method
in
org.apache.hadoop.registry.client.impl.zk.CuratorService

Best Java code snippets using org.apache.hadoop.registry.client.impl.zk.CuratorService.getConfig (Showing top 5 results out of 315)

origin: org.apache.hadoop/hadoop-yarn-registry

/**
 * Override point: get the connection string used to connect to
 * the ZK service.
 *
 * @return a registry quorum
 */
protected String buildConnectionString() {
 return getConfig().getTrimmed(KEY_REGISTRY_ZK_QUORUM,
                DEFAULT_REGISTRY_ZK_QUORUM);
}
origin: io.hops/hadoop-yarn-registry

/**
 * Override point: get the connection string used to connect to
 * the ZK service
 * @return a registry quorum
 */
protected String buildConnectionString() {
 return getConfig().getTrimmed(KEY_REGISTRY_ZK_QUORUM,
   DEFAULT_REGISTRY_ZK_QUORUM);
}
origin: org.apache.hadoop/hadoop-yarn-registry

 /**
  * Create the tree cache that monitors the registry for node addition, update,
  * and deletion.
  *
  * @throws Exception if any issue arises during monitoring.
  */
 public void monitorRegistryEntries()
   throws Exception {
  String registryPath =
    getConfig().get(RegistryConstants.KEY_REGISTRY_ZK_ROOT,
      RegistryConstants.DEFAULT_ZK_REGISTRY_ROOT);
  treeCache = new TreeCache(curator, registryPath);
  treeCache.start();
 }
}
origin: io.hops/hadoop-yarn-registry

Configuration conf = getConfig();
createEnsembleProvider();
int sessionTimeout = conf.getInt(KEY_REGISTRY_ZK_SESSION_TIMEOUT,
origin: org.apache.hadoop/hadoop-yarn-registry

Configuration conf = getConfig();
createEnsembleProvider();
int sessionTimeout = conf.getInt(KEY_REGISTRY_ZK_SESSION_TIMEOUT,
org.apache.hadoop.registry.client.impl.zkCuratorServicegetConfig

Popular methods of CuratorService

  • zkPathExists
    Probe for a path existing
  • bindingDiagnosticDetails
    Get the binding diagnostics
  • dumpPath
    Return a path dumper instance which can do a full dump of the registry tree in its toString() operat
  • zkCreate
    Create a path with given data. byte[0] is used for a path without data
  • zkMkPath
    Create a directory. It is not an error if it already exists
  • zkUpdate
    Update the data for a path
  • <init>
    Construct the service.
  • addService
  • buildConnectionString
    Override point: get the connection string used to connect to the ZK service
  • buildSecurityDiagnostics
    Build the security diagnostics string
  • checkServiceLive
    Internal check that a service is in the live state
  • createCurator
    Create a new curator instance off the root path; using configuration options provided in the service
  • checkServiceLive,
  • createCurator,
  • createEnsembleProvider,
  • createFullPath,
  • getName,
  • getRegistrySecurity,
  • getServiceState,
  • init,
  • isInState

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JOptionPane (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now