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

How to use
incDfsUsed
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.incDfsUsed (Showing top 4 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

void incDfsUsed(String bpid, long value) {
 BlockPoolSlice bp = bpSlices.get(bpid);
 if (bp != null) {
  bp.incDfsUsed(value);
 }
}
origin: org.apache.hadoop/hadoop-hdfs

void incDfsUsedAndNumBlocks(String bpid, long value) {
 BlockPoolSlice bp = bpSlices.get(bpid);
 if (bp != null) {
  bp.incDfsUsed(value);
  bp.incrNumBlocks();
 }
}
origin: io.prestosql.hadoop/hadoop-apache

void incDfsUsed(String bpid, long value) {
 synchronized(dataset) {
  BlockPoolSlice bp = bpSlices.get(bpid);
  if (bp != null) {
   bp.incDfsUsed(value);
  }
 }
}
origin: ch.cern.hadoop/hadoop-hdfs

void incDfsUsed(String bpid, long value) {
 synchronized(dataset) {
  BlockPoolSlice bp = bpSlices.get(bpid);
  if (bp != null) {
   bp.incDfsUsed(value);
  }
 }
}
org.apache.hadoop.hdfs.server.datanode.fsdataset.implBlockPoolSliceincDfsUsed

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,
  • loadDfsUsed,
  • moveLazyPersistReplicasToFinalized,
  • recoverTempUnlinkedBlock,
  • resolveDuplicateReplicas

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • orElseThrow (Optional)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
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