Tabnine Logo
FSPermissionChecker.checkTraverse
Code IndexAdd Tabnine to your IDE (free)

How to use
checkTraverse
method
in
org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker

Best Java code snippets using org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse (Showing top 5 results out of 315)

origin: org.apache.hadoop/hadoop-hdfs

void checkTraverse(FSPermissionChecker pc, INodesInPath iip,
  boolean resolveLink) throws AccessControlException,
   UnresolvedPathException, ParentNotDirectoryException {
 FSPermissionChecker.checkTraverse(
   isPermissionEnabled ? pc : null, iip, resolveLink);
}
origin: org.apache.hadoop/hadoop-hdfs

 checkTraverse(inodeAttrs, inodes, components, ancestorIndex);
} catch (UnresolvedPathException | ParentNotDirectoryException ex) {
origin: com.facebook.hadoop/hadoop-core

for(; ancestorIndex >= 0 && inodes[ancestorIndex] == null;
  ancestorIndex--);
checkTraverse(inodes, ancestorIndex);
origin: ch.cern.hadoop/hadoop-hdfs

  ancestorIndex--);
checkTraverse(inodeAttrs, ancestorIndex);
origin: io.prestosql.hadoop/hadoop-apache

  ancestorIndex--);
checkTraverse(inodeAttrs, ancestorIndex);
org.apache.hadoop.hdfs.server.namenodeFSPermissionCheckercheckTraverse

Javadoc

Verifies that all existing ancestors are directories. If a permission checker is provided then the user must have exec access. Ancestor symlinks will throw an unresolved exception, and resolveLink determines if the last inode will throw an unresolved exception. This method should always be called after a path is resolved into an IIP.

Popular methods of FSPermissionChecker

  • checkPermission
    Check whether current user have permissions to access the path. Traverse is always checked. Parent p
  • <init>
  • check
    Guarded by FSNamesystem#readLock()
  • checkOwner
    Guarded by FSNamesystem#readLock()
  • checkSubAccess
    Guarded by FSNamesystem#readLock()
  • checkStickyBit
    Guarded by FSNamesystem#readLock()
  • checkSuperuserPrivilege
    Verify if the caller has the required permission. This will result into an exception if the caller i
  • getAccessControlEnforcer
  • getAttributesProvider
  • getINodeAttrs
  • getUser
  • hasAclPermission
    Checks requested access against an Access Control List. This method relies on finding the ACL data i
  • getUser,
  • hasAclPermission,
  • hasPermission,
  • isSuperUser,
  • toAccessControlString,
  • constructPath,
  • containsGroup,
  • isMemberOfGroup,
  • checkIsDirectory

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Permission (java.security)
    Legacy security code; do not use.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Github Copilot alternatives
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