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

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

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

origin: org.apache.hadoop/hadoop-hdfs

if (!ioem.startsWith("Broken pipe") && !ioem.startsWith("Connection reset")) {
 LOG.error("BlockSender.sendChunks() exception: ", e);
 datanode.getBlockScanner().markSuspectBlock(
   ris.getVolumeRef().getVolume().getStorageID(),
   block);
origin: org.apache.hadoop/hadoop-hdfs

blockScanner.markSuspectBlock(data.getVolume(b).getStorageID(), b);
origin: ch.cern.hadoop/hadoop-hdfs

if (!ioem.startsWith("Broken pipe") && !ioem.startsWith("Connection reset")) {
 LOG.error("BlockSender.sendChunks() exception: ", e);
 datanode.getBlockScanner().markSuspectBlock(
   volumeRef.getVolume().getStorageID(),
   block);
origin: ch.cern.hadoop/hadoop-hdfs

blockScanner.markSuspectBlock(data.getVolume(b).getStorageID(), b);
origin: io.prestosql.hadoop/hadoop-apache

if (!ioem.startsWith("Broken pipe") && !ioem.startsWith("Connection reset")) {
 LOG.error("BlockSender.sendChunks() exception: ", e);
 datanode.getBlockScanner().markSuspectBlock(
   volumeRef.getVolume().getStorageID(),
   block);
origin: ch.cern.hadoop/hadoop-hdfs

Mockito.verify(mockScanner).markSuspectBlock(Mockito.eq(storageId),
  Mockito.eq(block));
origin: io.prestosql.hadoop/hadoop-apache

blockScanner.markSuspectBlock(data.getVolume(b).getStorageID(), b);
origin: ch.cern.hadoop/hadoop-hdfs

ctx.datanode.getBlockScanner().markSuspectBlock(storageID, first);
ctx.datanode.getBlockScanner().markSuspectBlock(storageID, first);
info.sem.release(10);
origin: ch.cern.hadoop/hadoop-hdfs

ctx.datanode.getBlockScanner().markSuspectBlock(storageID, first);
org.apache.hadoop.hdfs.server.datanodeBlockScannermarkSuspectBlock

Javadoc

Mark a block as "suspect." This means that we should try to rescan it soon. Note that the VolumeScanner keeps a list of recently suspicious blocks, which it uses to avoid rescanning the same block over and over in a short time frame.

Popular methods of BlockScanner

  • <init>
  • isEnabled
    Returns true if the block scanner is enabled. If the block scanner is disabled, no volume scanners w
  • removeAllVolumeScanners
    Stops and removes all volume scanners. This function will block until all the volume scanners have s
  • 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
  • Top PhpStorm plugins
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