Codota Logo
FsImageProto$INodeSection$INodeFile.getAcl
Code IndexAdd Codota to your IDE (free)

How to use
getAcl
method
in
org.apache.hadoop.hdfs.server.namenode.FsImageProto$INodeSection$INodeFile

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FsImageProto$INodeSection$INodeFile.getAcl (Showing top 14 results out of 315)

  • Common ways to obtain FsImageProto$INodeSection$INodeFile
private void myMethod () {
FsImageProto$INodeSection$INodeFile f =
  • Codota IconFsImageProto.INodeSection$INode fsImageProtoINodeSection$INode;fsImageProtoINodeSection$INode.getFile()
  • Codota IconFsImageProto.SnapshotDiffSection$FileDiff fsImageProtoSnapshotDiffSection$FileDiff;fsImageProtoSnapshotDiffSection$FileDiff.getSnapshotCopy()
  • Smart code suggestions by Codota
}
origin: org.apache.hadoop/hadoop-hdfs

mergeAcl(other.getAcl());
origin: org.apache.hadoop/hadoop-hdfs

private List<AclEntry> getAclEntryList(String path) throws IOException {
 long id = lookup(path);
 FsImageProto.INodeSection.INode inode = fromINodeId(id);
 switch (inode.getType()) {
  case FILE: {
   FsImageProto.INodeSection.INodeFile f = inode.getFile();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     f.getAcl(), stringTable);
  }
  case DIRECTORY: {
   FsImageProto.INodeSection.INodeDirectory d = inode.getDirectory();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     d.getAcl(), stringTable);
  }
  default: {
   return new ArrayList<AclEntry>();
  }
 }
}
origin: org.apache.hadoop/hadoop-hdfs

 dumpXattrs(f.getXAttrs());
dumpAcls(f.getAcl());
if (f.getBlocksCount() > 0) {
 out.print("<" + INODE_SECTION_BLOCKS + ">");
origin: org.apache.hadoop/hadoop-hdfs

INodeFile file = inode.getFile();
p = getPermission(file.getPermission());
hasAcl = file.hasAcl() && file.getAcl().getEntriesCount() > 0;
append(buffer, file.getReplication());
append(buffer, formatDate(file.getModificationTime()));
origin: org.apache.hadoop/hadoop-hdfs

int[] entries = AclEntryStatusFormat
  .toInt(FSImageFormatPBINode.Loader.loadAclEntries(
    fileInPb.getAcl(), state.getStringTable()));
acl = new AclFeature(entries);
origin: ch.cern.hadoop/hadoop-hdfs

private List<AclEntry> getAclEntryList(String path) throws IOException {
 long id = lookup(path);
 FsImageProto.INodeSection.INode inode = fromINodeId(id);
 switch (inode.getType()) {
  case FILE: {
   FsImageProto.INodeSection.INodeFile f = inode.getFile();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     f.getAcl(), stringTable);
  }
  case DIRECTORY: {
   FsImageProto.INodeSection.INodeDirectory d = inode.getDirectory();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     d.getAcl(), stringTable);
  }
  default: {
   return new ArrayList<AclEntry>();
  }
 }
}
origin: org.apache.hadoop/hadoop-hdfs

  f.getAcl(), state.getStringTable()));
file.addAclFeature(new AclFeature(entries));
origin: io.prestosql.hadoop/hadoop-apache

  f.getAcl(), state.getStringTable()));
file.addAclFeature(new AclFeature(entries));
origin: ch.cern.hadoop/hadoop-hdfs

  f.getAcl(), state.getStringTable()));
file.addAclFeature(new AclFeature(entries));
origin: ch.cern.hadoop/hadoop-hdfs

int[] entries = AclEntryStatusFormat
  .toInt(FSImageFormatPBINode.Loader.loadAclEntries(
    fileInPb.getAcl(), state.getStringTable()));
acl = new AclFeature(entries);
origin: io.prestosql.hadoop/hadoop-apache

int[] entries = AclEntryStatusFormat
  .toInt(FSImageFormatPBINode.Loader.loadAclEntries(
    fileInPb.getAcl(), state.getStringTable()));
acl = new AclFeature(entries);
origin: io.prestosql.hadoop/hadoop-apache

mergeAcl(other.getAcl());
origin: ch.cern.hadoop/hadoop-hdfs

mergeAcl(other.getAcl());
origin: io.prestosql.hadoop/hadoop-apache

private List<AclEntry> getAclEntryList(String path) throws IOException {
 long id = lookup(path);
 FsImageProto.INodeSection.INode inode = fromINodeId(id);
 switch (inode.getType()) {
  case FILE: {
   FsImageProto.INodeSection.INodeFile f = inode.getFile();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     f.getAcl(), stringTable);
  }
  case DIRECTORY: {
   FsImageProto.INodeSection.INodeDirectory d = inode.getDirectory();
   return FSImageFormatPBINode.Loader.loadAclEntries(
     d.getAcl(), stringTable);
  }
  default: {
   return new ArrayList<AclEntry>();
  }
 }
}
org.apache.hadoop.hdfs.server.namenodeFsImageProto$INodeSection$INodeFilegetAcl

Javadoc

optional .hadoop.hdfs.fsimage.INodeSection.AclFeatureProto acl = 8;

Popular methods of FsImageProto$INodeSection$INodeFile

  • getBlocksCount
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getPermission
    optional fixed64 permission = 5;
  • getReplication
    optional uint32 replication = 1;
  • newBuilder
  • <init>
  • getAccessTime
    optional uint64 accessTime = 3;
  • getBlocks
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getBlocksList
    repeated .hadoop.hdfs.BlockProto blocks = 6;
  • getDefaultInstance
  • getFileUC
    optional .hadoop.hdfs.fsimage.INodeSection.FileUnderConstructionFeature fileUC = 7;
  • getModificationTime
    optional uint64 modificationTime = 2;
  • getPreferredBlockSize
    optional uint64 preferredBlockSize = 4;
  • getModificationTime,
  • getPreferredBlockSize,
  • getSerializedSize,
  • getStoragePolicyID,
  • getUnknownFields,
  • getXAttrs,
  • hasAccessTime,
  • hasAcl,
  • hasFileUC

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
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