Tabnine Logo
VolumeScanner.enableBlockPoolId
Code IndexAdd Tabnine to your IDE (free)

How to use
enableBlockPoolId
method
in
org.apache.hadoop.hdfs.server.datanode.VolumeScanner

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.VolumeScanner.enableBlockPoolId (Showing top 3 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

/**
 * Enable scanning a given block pool id.
 *
 * @param bpid        The block pool id to enable scanning for.
 */
synchronized void enableBlockPoolId(String bpid) {
 Preconditions.checkNotNull(bpid);
 for (VolumeScanner scanner : scanners.values()) {
  scanner.enableBlockPoolId(bpid);
 }
}
origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Enable scanning a given block pool id.
 *
 * @param bpid        The block pool id to enable scanning for.
 */
synchronized void enableBlockPoolId(String bpid) {
 Preconditions.checkNotNull(bpid);
 for (VolumeScanner scanner : scanners.values()) {
  scanner.enableBlockPoolId(bpid);
 }
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Enable scanning a given block pool id.
 *
 * @param bpid        The block pool id to enable scanning for.
 */
synchronized void enableBlockPoolId(String bpid) {
 Preconditions.checkNotNull(bpid);
 for (VolumeScanner scanner : scanners.values()) {
  scanner.enableBlockPoolId(bpid);
 }
}
org.apache.hadoop.hdfs.server.datanodeVolumeScannerenableBlockPoolId

Javadoc

Allow the scanner to scan the given block pool.

Popular methods of VolumeScanner

  • calculateShouldScan
  • <init>
  • disableBlockPoolId
    Disallow the scanner from scanning the given block pool.
  • expireOldScannedBytesRecords
  • findNextUsableBlockIter
    Find a usable block iterator. We will consider available block iterators in order. This property is
  • getStatistics
  • interrupt
  • markSuspectBlock
  • popNextSuspectBlock
    If there are elements in the suspectBlocks list, removes and returns the first one. Otherwise, retur
  • positiveMsToHours
  • printStats
  • runLoop
    Run an iteration of the VolumeScanner loop.
  • printStats,
  • runLoop,
  • saveBlockIterator,
  • scanBlock,
  • setConf,
  • setDaemon,
  • setName,
  • shutdown,
  • start

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • From CI to AI: The AI layer in your organization
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