Tabnine Logo
ReplicaInfo.setDirInternal
Code IndexAdd Tabnine to your IDE (free)

How to use
setDirInternal
method
in
org.apache.hadoop.hdfs.server.datanode.ReplicaInfo

Best Java code snippets using org.apache.hadoop.hdfs.server.datanode.ReplicaInfo.setDirInternal (Showing top 4 results out of 315)

origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Set the parent directory where this replica is located
 * @param dir the parent directory where the replica is located
 */
public void setDir(File dir) {
 setDirInternal(dir);
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Set the parent directory where this replica is located
 * @param dir the parent directory where the replica is located
 */
public void setDir(File dir) {
 setDirInternal(dir);
}
origin: ch.cern.hadoop/hadoop-hdfs

/**
 * Constructor
 * @param blockId block id
 * @param len replica length
 * @param genStamp replica generation stamp
 * @param vol volume where replica is located
 * @param dir directory path where block and meta files are located
 */
ReplicaInfo(long blockId, long len, long genStamp,
  FsVolumeSpi vol, File dir) {
 super(blockId, len, genStamp);
 this.volume = vol;
 setDirInternal(dir);
}
origin: io.prestosql.hadoop/hadoop-apache

/**
 * Constructor
 * @param blockId block id
 * @param len replica length
 * @param genStamp replica generation stamp
 * @param vol volume where replica is located
 * @param dir directory path where block and meta files are located
 */
ReplicaInfo(long blockId, long len, long genStamp,
  FsVolumeSpi vol, File dir) {
 super(blockId, len, genStamp);
 this.volume = vol;
 setDirInternal(dir);
}
org.apache.hadoop.hdfs.server.datanodeReplicaInfosetDirInternal

Popular methods of ReplicaInfo

  • getBlockId
  • getBytesOnDisk
  • getGenerationStamp
  • getNumBytes
  • getState
  • getVolume
    Get the volume where this replica is located on disk
  • getBlockFile
    Get the full path of this replica's data file
  • getMetaFile
    Get the full path of this replica's meta file
  • getBlockName
  • getBytesReserved
    Number of bytes reserved for this replica on disk.
  • getStorageUuid
    Get the storageUuid of the volume that stores this replica.
  • getVisibleLength
  • getStorageUuid,
  • getVisibleLength,
  • isOnTransientStorage,
  • setGenerationStamp,
  • setNumBytes,
  • equals,
  • getDir,
  • hashCode,
  • isUnlinked,
  • parseBaseDir

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JCheckBox (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook extensions
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