Tabnine Logo
BlockPoolSlice.loadDfsUsed
Code IndexAdd Tabnine to your IDE (free)

How to use
loadDfsUsed
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.loadDfsUsed (Showing top 3 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

                         .setInitialUsed(loadDfsUsed())
                         .build();
if (addReplicaThreadPool == null) {
origin: ch.cern.hadoop/hadoop-hdfs

this.dfsUsage = new DU(bpDir, conf, loadDfsUsed());
this.dfsUsage.start();
origin: io.prestosql.hadoop/hadoop-apache

this.dfsUsage = new DU(bpDir, conf, loadDfsUsed());
this.dfsUsage.start();
org.apache.hadoop.hdfs.server.datanode.fsdataset.implBlockPoolSliceloadDfsUsed

Javadoc

Read in the cached DU value and return it if it is less than cachedDfsUsedCheckTime which is set by dfs.datanode.cached-dfsused.check.interval.ms parameter. Slight imprecision of dfsUsed is not critical and skipping DU can significantly shorten the startup time. If the cached value is not available or too old, -1 is returned.

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
  • checkDirs
  • 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
  • deleteReplica,
  • getDfsUsed,
  • getRbwDir,
  • getTmpDir,
  • getVolumeMap,
  • incDfsUsed,
  • moveLazyPersistReplicasToFinalized,
  • recoverTempUnlinkedBlock,
  • resolveDuplicateReplicas

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now