public static class FsShellPermissions.Chmod extends org.apache.hadoop.fs.FsShellPermissions
FsShellPermissions.Chgrp, FsShellPermissions.Chmod, FsShellPermissions.Chown
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
NAME |
protected org.apache.hadoop.fs.permission.ChmodParser |
pp |
static String |
USAGE |
Constructor and Description |
---|
Chmod() |
Modifier and Type | Method and Description |
---|---|
protected void |
processOptions(LinkedList<String> args)
Must be implemented by commands to process the command line flags and
check the bounds of the remaining arguments.
|
protected void |
processPath(org.apache.hadoop.fs.shell.PathData item)
Hook for commands to implement an operation to be applied on each
path for the command.
|
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, postProcessPath, processArgument, processArguments, processNonexistentPath, processPathArgument, processPaths, processRawArguments, recursePath, run, setCommandFactory, setName, setRecursive
getConf, setConf
public static final String NAME
public static final String USAGE
public static final String DESCRIPTION
protected org.apache.hadoop.fs.permission.ChmodParser pp
public Chmod()
protected void processOptions(LinkedList<String> args) throws IOException
org.apache.hadoop.fs.shell.Command
processOptions
in class org.apache.hadoop.fs.shell.Command
args
- the command line argumentsIOException
protected void processPath(org.apache.hadoop.fs.shell.PathData item) throws IOException
org.apache.hadoop.fs.shell.Command
processPath
in class org.apache.hadoop.fs.shell.Command
item
- a PathData
objectIOException
- if anything else goes wrong in the user-implementationCopyright © 2016 Apache Software Foundation. All Rights Reserved.