congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FSEditLogOp$MkdirOp.setXAttrs
Code IndexAdd Tabnine to your IDE (free)

How to use
setXAttrs
method
in
org.apache.hadoop.hdfs.server.namenode.FSEditLogOp$MkdirOp

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FSEditLogOp$MkdirOp.setXAttrs (Showing top 3 results out of 315)

origin: ch.cern.hadoop/hadoop-hdfs

/** 
 * Add create directory record to edit log
 */
public void logMkDir(String path, INode newNode) {
 PermissionStatus permissions = newNode.getPermissionStatus();
 MkdirOp op = MkdirOp.getInstance(cache.get())
  .setInodeId(newNode.getId())
  .setPath(path)
  .setTimestamp(newNode.getModificationTime())
  .setPermissionStatus(permissions);
 AclFeature f = newNode.getAclFeature();
 if (f != null) {
  op.setAclEntries(AclStorage.readINodeLogicalAcl(newNode));
 }
 XAttrFeature x = newNode.getXAttrFeature();
 if (x != null) {
  op.setXAttrs(x.getXAttrs());
 }
 logEdit(op);
}

origin: io.prestosql.hadoop/hadoop-apache

/** 
 * Add create directory record to edit log
 */
public void logMkDir(String path, INode newNode) {
 PermissionStatus permissions = newNode.getPermissionStatus();
 MkdirOp op = MkdirOp.getInstance(cache.get())
  .setInodeId(newNode.getId())
  .setPath(path)
  .setTimestamp(newNode.getModificationTime())
  .setPermissionStatus(permissions);
 AclFeature f = newNode.getAclFeature();
 if (f != null) {
  op.setAclEntries(AclStorage.readINodeLogicalAcl(newNode));
 }
 XAttrFeature x = newNode.getXAttrFeature();
 if (x != null) {
  op.setXAttrs(x.getXAttrs());
 }
 logEdit(op);
}

origin: org.apache.hadoop/hadoop-hdfs

/** 
 * Add create directory record to edit log
 */
public void logMkDir(String path, INode newNode) {
 PermissionStatus permissions = newNode.getPermissionStatus();
 MkdirOp op = MkdirOp.getInstance(cache.get())
  .setInodeId(newNode.getId())
  .setPath(path)
  .setTimestamp(newNode.getModificationTime())
  .setPermissionStatus(permissions);
 AclFeature f = newNode.getAclFeature();
 if (f != null) {
  op.setAclEntries(AclStorage.readINodeLogicalAcl(newNode));
 }
 XAttrFeature x = newNode.getXAttrFeature();
 if (x != null) {
  op.setXAttrs(x.getXAttrs());
 }
 logEdit(op);
}

org.apache.hadoop.hdfs.server.namenodeFSEditLogOp$MkdirOpsetXAttrs

Popular methods of FSEditLogOp$MkdirOp

  • getInstance
  • setPath
  • setPermissionStatus
  • setTimestamp
  • <init>
  • permissionStatusFromXml
  • setAclEntries
  • setInodeId
  • set

Popular in Java

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Top 17 PhpStorm Plugins
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