Tabnine Logo
ClusterUtils.blobstorePath
Code IndexAdd Tabnine to your IDE (free)

How to use
blobstorePath
method
in
org.apache.storm.cluster.ClusterUtils

Best Java code snippets using org.apache.storm.cluster.ClusterUtils.blobstorePath (Showing top 6 results out of 315)

origin: apache/storm

@Override
public void removeBlobstoreKey(String blobKey) {
  LOG.debug("remove key {}", blobKey);
  stateStorage.delete_node(ClusterUtils.blobstorePath(blobKey));
}
origin: apache/storm

@Override
public void setupBlob(String key, NimbusInfo nimbusInfo, Integer versionInfo) {
  String path = ClusterUtils.blobstorePath(key) + ClusterUtils.ZK_SEPERATOR + nimbusInfo.toHostPortString() + "-" + versionInfo;
  LOG.info("set-path: {}", path);
  stateStorage.mkdirs(ClusterUtils.blobstorePath(key), defaultAcls);
  stateStorage.delete_node_blobstore(ClusterUtils.blobstorePath(key), nimbusInfo.toHostPortString());
  stateStorage.set_ephemeral_node(path, null, defaultAcls);
}
origin: apache/storm

@Override
public List<String> blobstoreInfo(String blobKey) {
  String path = ClusterUtils.blobstorePath(blobKey);
  stateStorage.sync_path(path);
  return stateStorage.get_children(path, false);
}
origin: org.apache.storm/storm-core

@Override
public void removeBlobstoreKey(String blobKey) {
  LOG.debug("remove key {}", blobKey);
  stateStorage.delete_node(ClusterUtils.blobstorePath(blobKey));
}
origin: org.apache.storm/storm-core

@Override
public void setupBlobstore(String key, NimbusInfo nimbusInfo, Integer versionInfo) {
  String path = ClusterUtils.blobstorePath(key) + ClusterUtils.ZK_SEPERATOR + nimbusInfo.toHostPortString() + "-" + versionInfo;
  LOG.info("set-path: {}", path);
  stateStorage.mkdirs(ClusterUtils.blobstorePath(key), acls);
  stateStorage.delete_node_blobstore(ClusterUtils.blobstorePath(key), nimbusInfo.toHostPortString());
  stateStorage.set_ephemeral_node(path, null, acls);
}
origin: org.apache.storm/storm-core

@Override
public List<String> blobstoreInfo(String blobKey) {
  String path = ClusterUtils.blobstorePath(blobKey);
  stateStorage.sync_path(path);
  return stateStorage.get_children(path, false);
}
org.apache.storm.clusterClusterUtilsblobstorePath

Popular methods of ClusterUtils

  • mkStormClusterState
  • errorStormRoot
  • assignmentPath
  • backpressurePath
  • backpressureStormRoot
  • blobstoreMaxKeySequenceNumberPath
  • convertExecutorBeats
    Ensures that we only return heartbeats for executors assigned to this worker
  • credentialsPath
  • errorPath
  • lastErrorPath
  • logConfigPath
  • maybeDeserialize
  • logConfigPath,
  • maybeDeserialize,
  • mkStateStorage,
  • mkStateStorageImpl,
  • mkStormClusterStateImpl,
  • mkTopoAcls,
  • mkTopoReadOnlyAcls,
  • mkTopoReadWriteAcls,
  • nimbusPath

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • findViewById (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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