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

How to use
recoverTempUnlinkedBlock
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.recoverTempUnlinkedBlock (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

file = recoverTempUnlinkedBlock(file);
if (file == null) { // the original block still exists, so we cover it
origin: ch.cern.hadoop/hadoop-hdfs

file = recoverTempUnlinkedBlock(file);
if (file == null) { // the original block still exists, so we cover it
origin: io.prestosql.hadoop/hadoop-apache

file = recoverTempUnlinkedBlock(file);
if (file == null) { // the original block still exists, so we cover it
org.apache.hadoop.hdfs.server.datanode.fsdataset.implBlockPoolSlicerecoverTempUnlinkedBlock

Javadoc

Recover an unlinked tmp file on datanode restart. If the original block does not exist, then the tmp file is renamed to be the original file name and the original name is returned; otherwise the tmp file is deleted and null 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,
  • loadDfsUsed,
  • moveLazyPersistReplicasToFinalized,
  • resolveDuplicateReplicas

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • orElseThrow (Optional)
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
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