Package org.apache.hadoop.fs
Class FsShellPermissions.Chgrp
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.shell.Command
org.apache.hadoop.fs.shell.FsCommand
org.apache.hadoop.fs.FsShellPermissions
org.apache.hadoop.fs.FsShellPermissions.Chown
org.apache.hadoop.fs.FsShellPermissions.Chgrp
- All Implemented Interfaces:
Configurable
- Enclosing class:
- FsShellPermissions
Used to change group of files
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.fs.FsShellPermissions
FsShellPermissions.Chgrp, FsShellPermissions.Chmod, FsShellPermissions.Chown -
Field Summary
FieldsFields inherited from class org.apache.hadoop.fs.FsShellPermissions.Chown
group, ownerFields inherited from class org.apache.hadoop.fs.shell.Command
args, COMMAND_DESCRIPTION_FIELD, COMMAND_NAME_FIELD, COMMAND_USAGE_FIELD, err, exceptions, exitCode, name, numErrors, out, recursive -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidparseOwnerGroup(String groupStr) Parse the first argument into an owner and groupMethods inherited from class org.apache.hadoop.fs.FsShellPermissions.Chown
processOptions, processPathMethods inherited from class org.apache.hadoop.fs.FsShellPermissions
registerCommandsMethods inherited from class org.apache.hadoop.fs.shell.FsCommand
getCommandName, processRawArguments, run, runAllMethods inherited from class org.apache.hadoop.fs.shell.Command
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getListingGroupSize, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, isSorted, postProcessPath, processArgument, processArguments, processNonexistentPath, processPathArgument, processPaths, processPaths, recursePath, run, run, setCommandFactory, setName, setRecursiveMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Field Details
-
NAME
- See Also:
-
USAGE
- See Also:
-
DESCRIPTION
- See Also:
-
-
Constructor Details
-
Chgrp
public Chgrp()
-
-
Method Details
-
parseOwnerGroup
Description copied from class:FsShellPermissions.ChownParse the first argument into an owner and group- Overrides:
parseOwnerGroupin classFsShellPermissions.Chown- Parameters:
groupStr- string describing new ownership
-