Codota Logo
VolumeScanner.enableBlockPoolId
Code IndexAdd Codota 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)

  • Common ways to obtain VolumeScanner
private void myMethod () {
VolumeScanner v =
  • Codota IconTreeMap treeMap;Object key;treeMap.get(key)
  • Codota IconTreeMap treeMap;FsVolumeSpi fsVolumeSpi;treeMap.get(fsVolumeSpi.getStorageID())
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now