org.apache.hadoop.nfs.nfs3
Class Nfs3Status

java.lang.Object
  extended by org.apache.hadoop.nfs.nfs3.Nfs3Status

public class Nfs3Status
extends Object

Success or error status is reported in NFS3 responses.


Field Summary
static int NFS3_OK
          Indicates the call completed successfully.
static int NFS3ERR_ACCES
          Permission denied.
static int NFS3ERR_BAD_COOKIE
          READDIR or READDIRPLUS cookie is stale
static int NFS3ERR_BADHANDLE
          The file handle failed internal consistency checks
static int NFS3ERR_BADTYPE
          An attempt was made to create an object of a type not supported by the server.
static int NFS3ERR_DQUOT
          Resource (quota) hard limit exceeded.
static int NFS3ERR_EXIST
          File exists.
static int NFS3ERR_FBIG
          File too large.
static int NFS3ERR_INVAL
          Invalid argument or unsupported argument for an operation.
static int NFS3ERR_IO
          I/O error.
static int NFS3ERR_ISDIR
          The caller specified a directory in a non-directory operation.
static int NFS3ERR_JUKEBOX
          The server initiated the request, but was not able to complete it in a timely fashion.
static int NFS3ERR_MLINK
          Too many hard links.
static int NFS3ERR_NAMETOOLONG
          The filename in an operation was too long.
static int NFS3ERR_NODEV
          No such device.
static int NFS3ERR_NOENT
          No such file or directory.
static int NFS3ERR_NOSPC
          No space left on device.
static int NFS3ERR_NOT_SYNC
          Update synchronization mismatch was detected during a SETATTR operation.
static int NFS3ERR_NOTDIR
          The caller specified a non-directory in a directory operation.
static int NFS3ERR_NOTEMPTY
          An attempt was made to remove a directory that was not empty.
static int NFS3ERR_NOTSUPP
          Operation is not supported
static int NFS3ERR_NXIO
          I/O error.
static int NFS3ERR_PERM
          The operation was not allowed because the caller is either not a privileged user (root) or not the owner of the target of the operation.
static int NFS3ERR_REMOTE
          The file handle given in the arguments referred to a file on a non-local file system on the server.
static int NFS3ERR_ROFS
          Read-only file system.
static int NFS3ERR_SERVERFAULT
          An error occurred on the server which does not map to any of the legal NFS version 3 protocol error values.
static int NFS3ERR_STALE
          The file handle given in the arguments was invalid.
static int NFS3ERR_TOOSMALL
          Buffer or request is too small
static int NFS3ERR_XDEV
          Attempt to do a cross-device hard link.
 
Constructor Summary
Nfs3Status()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NFS3_OK

public static final int NFS3_OK
Indicates the call completed successfully.

See Also:
Constant Field Values

NFS3ERR_PERM

public static final int NFS3ERR_PERM
The operation was not allowed because the caller is either not a privileged user (root) or not the owner of the target of the operation.

See Also:
Constant Field Values

NFS3ERR_NOENT

public static final int NFS3ERR_NOENT
No such file or directory. The file or directory name specified does not exist.

See Also:
Constant Field Values

NFS3ERR_IO

public static final int NFS3ERR_IO
I/O error. A hard error (for example, a disk error) occurred while processing the requested operation.

See Also:
Constant Field Values

NFS3ERR_NXIO

public static final int NFS3ERR_NXIO
I/O error. No such device or address.

See Also:
Constant Field Values

NFS3ERR_ACCES

public static final int NFS3ERR_ACCES
Permission denied. The caller does not have the correct permission to perform the requested operation. Contrast this with NFS3ERR_PERM, which restricts itself to owner or privileged user permission failures.

See Also:
Constant Field Values

NFS3ERR_EXIST

public static final int NFS3ERR_EXIST
File exists. The file specified already exists.

See Also:
Constant Field Values

NFS3ERR_XDEV

public static final int NFS3ERR_XDEV
Attempt to do a cross-device hard link.

See Also:
Constant Field Values

NFS3ERR_NODEV

public static final int NFS3ERR_NODEV
No such device.

See Also:
Constant Field Values

NFS3ERR_NOTDIR

public static int NFS3ERR_NOTDIR
The caller specified a non-directory in a directory operation.


NFS3ERR_ISDIR

public static final int NFS3ERR_ISDIR
The caller specified a directory in a non-directory operation.

See Also:
Constant Field Values

NFS3ERR_INVAL

public static final int NFS3ERR_INVAL
Invalid argument or unsupported argument for an operation. Two examples are attempting a READLINK on an object other than a symbolic link or attempting to SETATTR a time field on a server that does not support this operation.

See Also:
Constant Field Values

NFS3ERR_FBIG

public static final int NFS3ERR_FBIG
File too large. The operation would have caused a file to grow beyond the server's limit.

See Also:
Constant Field Values

NFS3ERR_NOSPC

public static final int NFS3ERR_NOSPC
No space left on device. The operation would have caused the server's file system to exceed its limit.

See Also:
Constant Field Values

NFS3ERR_ROFS

public static final int NFS3ERR_ROFS
Read-only file system. A modifying operation was attempted on a read-only file system.

See Also:
Constant Field Values

NFS3ERR_MLINK

public static final int NFS3ERR_MLINK
Too many hard links.

See Also:
Constant Field Values

NFS3ERR_NAMETOOLONG

public static final int NFS3ERR_NAMETOOLONG
The filename in an operation was too long.

See Also:
Constant Field Values

NFS3ERR_NOTEMPTY

public static final int NFS3ERR_NOTEMPTY
An attempt was made to remove a directory that was not empty.

See Also:
Constant Field Values

NFS3ERR_DQUOT

public static final int NFS3ERR_DQUOT
Resource (quota) hard limit exceeded. The user's resource limit on the server has been exceeded.

See Also:
Constant Field Values

NFS3ERR_STALE

public static final int NFS3ERR_STALE
The file handle given in the arguments was invalid. The file referred to by that file handle no longer exists or access to it has been revoked.

See Also:
Constant Field Values

NFS3ERR_REMOTE

public static final int NFS3ERR_REMOTE
The file handle given in the arguments referred to a file on a non-local file system on the server.

See Also:
Constant Field Values

NFS3ERR_BADHANDLE

public static final int NFS3ERR_BADHANDLE
The file handle failed internal consistency checks

See Also:
Constant Field Values

NFS3ERR_NOT_SYNC

public static final int NFS3ERR_NOT_SYNC
Update synchronization mismatch was detected during a SETATTR operation.

See Also:
Constant Field Values

NFS3ERR_BAD_COOKIE

public static final int NFS3ERR_BAD_COOKIE
READDIR or READDIRPLUS cookie is stale

See Also:
Constant Field Values

NFS3ERR_NOTSUPP

public static final int NFS3ERR_NOTSUPP
Operation is not supported

See Also:
Constant Field Values

NFS3ERR_TOOSMALL

public static final int NFS3ERR_TOOSMALL
Buffer or request is too small

See Also:
Constant Field Values

NFS3ERR_SERVERFAULT

public static final int NFS3ERR_SERVERFAULT
An error occurred on the server which does not map to any of the legal NFS version 3 protocol error values. The client should translate this into an appropriate error. UNIX clients may choose to translate this to EIO.

See Also:
Constant Field Values

NFS3ERR_BADTYPE

public static final int NFS3ERR_BADTYPE
An attempt was made to create an object of a type not supported by the server.

See Also:
Constant Field Values

NFS3ERR_JUKEBOX

public static final int NFS3ERR_JUKEBOX
The server initiated the request, but was not able to complete it in a timely fashion. The client should wait and then try the request with a new RPC transaction ID. For example, this error should be returned from a server that supports hierarchical storage and receives a request to process a file that has been migrated. In this case, the server should start the immigration process and respond to client with this error.

See Also:
Constant Field Values
Constructor Detail

Nfs3Status

public Nfs3Status()


Copyright © 2009 The Apache Software Foundation