Codota Logo
BlockPoolSlice.checkDirs
Code IndexAdd Codota to your IDE (free)

How to use
checkDirs
method
in
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.BlockPoolSlice.checkDirs (Showing top 3 results out of 315)

  • Common ways to obtain BlockPoolSlice
private void myMethod () {
BlockPoolSlice b =
  • Codota IconFsVolumeImpl fsVolumeImpl;ExtendedBlock extendedBlock;fsVolumeImpl.getBlockPoolSlice(extendedBlock.getBlockPoolId())
  • Smart code suggestions by Codota
}
origin: org.apache.hadoop/hadoop-hdfs

@Override
public VolumeCheckResult check(VolumeCheckContext ignored)
  throws DiskErrorException {
 // TODO:FEDERATION valid synchronization
 for(BlockPoolSlice s : bpSlices.values()) {
  s.checkDirs();
 }
 return VolumeCheckResult.HEALTHY;
}
 
origin: ch.cern.hadoop/hadoop-hdfs

void checkDirs() throws DiskErrorException {
 // TODO:FEDERATION valid synchronization
 for(BlockPoolSlice s : bpSlices.values()) {
  s.checkDirs();
 }
}
 
origin: io.prestosql.hadoop/hadoop-apache

void checkDirs() throws DiskErrorException {
 // TODO:FEDERATION valid synchronization
 for(BlockPoolSlice s : bpSlices.values()) {
  s.checkDirs();
 }
}
 
org.apache.hadoop.hdfs.server.datanode.fsdataset.implBlockPoolSlicecheckDirs

Popular methods of BlockPoolSlice

  • createRbwFile
    RBW files. They get moved to the finalized block directory when the block is finalized.
  • getFinalizedDir
  • getLazypersistDir
  • selectReplicaToDelete
  • <init>
    Create a blook pool slice
  • activateSavedReplica
    Move a persisted replica from lazypersist directory to a subdirectory under finalized.
  • addToReplicasMap
    Add replicas under the given directory to the volume map
  • createTmpFile
    Temporary files. They get moved to the finalized block directory when the block is finalized.
  • decDfsUsed
    Run DU on local drives. It must be synchronized from caller.
  • deleteReplica
  • getDfsUsed
  • getRbwDir
  • getDfsUsed,
  • getRbwDir,
  • getTmpDir,
  • getVolumeMap,
  • incDfsUsed,
  • loadDfsUsed,
  • moveLazyPersistReplicasToFinalized,
  • recoverTempUnlinkedBlock,
  • resolveDuplicateReplicas

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
  • setContentView (Activity)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
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