Uses of Class
org.apache.hadoop.hdfs.server.namenode.SafeModeException

Packages that use SafeModeException
org.apache.hadoop.hdfs.protocol   
org.apache.hadoop.hdfs.server.namenode   
 

Uses of SafeModeException in org.apache.hadoop.hdfs.protocol
 

Methods in org.apache.hadoop.hdfs.protocol that throw SafeModeException
 LocatedBlock ClientProtocol.addBlock(String src, String clientName, Block previous, DatanodeInfo[] excludeNodes)
          A client that wants to write an additional block to the indicated filename (which must currently be open for writing) should call addBlock().
 LocatedBlock ClientProtocol.append(String src, String clientName)
          Append to the end of the file.
 boolean ClientProtocol.complete(String src, String clientName, Block last)
          The client is done writing data to the given filename, and would like to complete it.
 void ClientProtocol.create(String src, org.apache.hadoop.fs.permission.FsPermission masked, String clientName, org.apache.hadoop.io.EnumSetWritable<org.apache.hadoop.fs.CreateFlag> flag, boolean createParent, short replication, long blockSize)
          Create a new file entry in the namespace.
 void ClientProtocol.createSymlink(String target, String link, org.apache.hadoop.fs.permission.FsPermission dirPerm, boolean createParent)
          Create symlink to a file or directory.
 boolean ClientProtocol.delete(String src, boolean recursive)
          Delete the given file or directory from the file system.
 boolean ClientProtocol.mkdirs(String src, org.apache.hadoop.fs.permission.FsPermission masked, boolean createParent)
          Create a directory (or hierarchy of directories) with the given name and permission.
 void ClientProtocol.rename(String src, String dst, org.apache.hadoop.fs.Options.Rename... options)
          Rename src to dst.
 void ClientProtocol.setOwner(String src, String username, String groupname)
          Set Owner of a path (i.e.
 void ClientProtocol.setPermission(String src, org.apache.hadoop.fs.permission.FsPermission permission)
          Set permissions for an existing file/directory.
 boolean ClientProtocol.setReplication(String src, short replication)
          Set replication for an existing file.
 

Uses of SafeModeException in org.apache.hadoop.hdfs.server.namenode
 

Methods in org.apache.hadoop.hdfs.server.namenode that throw SafeModeException
 boolean FSNamesystem.completeFile(String src, String holder, Block last)
          Complete in-progress write to the given file.
 boolean FSNamesystem.delete(String src, boolean recursive)
          Remove the indicated file from namespace.
 LocatedBlock FSNamesystem.getAdditionalBlock(String src, String clientName, Block previous, HashMap<org.apache.hadoop.net.Node,org.apache.hadoop.net.Node> excludedNodes)
          The client would like to obtain an additional block for the indicated filename (which is being written-to).
 void FSNamesystem.setOwner(String src, String username, String group)
          Set owner for an existing file.
 void FSNamesystem.setPermission(String src, org.apache.hadoop.fs.permission.FsPermission permission)
          Set permissions for an existing file.
 



Copyright © 2009 The Apache Software Foundation