org.apache.hadoop.fs
Class FsShellPermissions.Chgrp

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.fs.shell.Command
          extended by org.apache.hadoop.fs.shell.FsCommand
              extended by org.apache.hadoop.fs.FsShellPermissions
                  extended by org.apache.hadoop.fs.FsShellPermissions.Chown
                      extended by org.apache.hadoop.fs.FsShellPermissions.Chgrp
All Implemented Interfaces:
Configurable
Enclosing class:
org.apache.hadoop.fs.FsShellPermissions

public static class FsShellPermissions.Chgrp
extends FsShellPermissions.Chown

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
static String DESCRIPTION
           
static String NAME
           
static String USAGE
           
 
Fields inherited from class org.apache.hadoop.fs.FsShellPermissions.Chown
group, owner
 
Fields inherited from class org.apache.hadoop.fs.shell.Command
args, err, exceptions, exitCode, name, numErrors, out, recursive
 
Constructor Summary
FsShellPermissions.Chgrp()
           
 
Method Summary
protected  void parseOwnerGroup(String groupStr)
          Parse the first argument into an owner and group
 
Methods inherited from class org.apache.hadoop.fs.FsShellPermissions.Chown
processOptions, processPath
 
Methods inherited from class org.apache.hadoop.fs.FsShellPermissions
registerCommands
 
Methods inherited from class org.apache.hadoop.fs.shell.FsCommand
getCommandName, run, runAll
 
Methods inherited from class org.apache.hadoop.fs.shell.Command
displayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getDepth, getDescription, getName, getReplacementCommand, getUsage, isDeprecated, isRecursive, postProcessPath, processArgument, processArguments, processNonexistentPath, processPathArgument, processPaths, processRawArguments, recursePath, run, setName, setRecursive
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

USAGE

public static final String USAGE
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

FsShellPermissions.Chgrp

public FsShellPermissions.Chgrp()
Method Detail

parseOwnerGroup

protected void parseOwnerGroup(String groupStr)
Description copied from class: FsShellPermissions.Chown
Parse the first argument into an owner and group

Overrides:
parseOwnerGroup in class FsShellPermissions.Chown
Parameters:
groupStr - string describing new ownership


Copyright © 2013 Apache Software Foundation. All Rights Reserved.