Tabnine Logo
BlockScanner.removeAllVolumeScanners
Code IndexAdd Tabnine to your IDE (free)

How to use
removeAllVolumeScanners
method
in
org.apache.hadoop.hdfs.server.datanode.BlockScanner

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.BlockScanner.removeAllVolumeScanners (Showing top 4 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

private void shutdownPeriodicScanners() {
 shutdownDirectoryScanner();
 blockScanner.removeAllVolumeScanners();
}
origin: ch.cern.hadoop/hadoop-hdfs

private void shutdownPeriodicScanners() {
 shutdownDirectoryScanner();
 blockScanner.removeAllVolumeScanners();
}
origin: io.prestosql.hadoop/hadoop-apache

private void shutdownPeriodicScanners() {
 shutdownDirectoryScanner();
 blockScanner.removeAllVolumeScanners();
}
origin: ch.cern.hadoop/hadoop-hdfs

datanode.getBlockScanner().removeAllVolumeScanners();
org.apache.hadoop.hdfs.server.datanodeBlockScannerremoveAllVolumeScanners

Javadoc

Stops and removes all volume scanners.

This function will block until all the volume scanners have stopped.

Popular methods of BlockScanner

  • <init>
  • isEnabled
    Returns true if the block scanner is enabled. If the block scanner is disabled, no volume scanners w
  • markSuspectBlock
    Mark a block as "suspect." This means that we should try to rescan it soon. Note that the VolumeScan
  • addVolumeScanner
    Set up a scanner for the given block pool and volume.
  • disableBlockPoolId
    Disable scanning a given block pool id.
  • enableBlockPoolId
    Enable scanning a given block pool id.
  • printStats
  • removeVolumeScanner
    Stops and removes a volume scanner. This function will block until the volume scanner has stopped.
  • getVolumeStats
  • setConf

Popular in Java

  • Reading from database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Github Copilot alternatives
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