Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.server.protocol |
Modifier and Type | Method and Description |
---|---|
LocatedBlock |
ClientProtocol.append(String src,
String clientName)
Append to the end of the file.
|
void |
ClientProtocol.concat(String trg,
String[] srcs)
Moves blocks from srcs to trg and delete srcs
|
HdfsFileStatus |
ClientProtocol.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize)
Create a new file entry in the namespace.
|
String |
ClientProtocol.createSnapshot(String snapshotRoot,
String snapshotName)
Create a snapshot
|
void |
ClientProtocol.createSymlink(String target,
String link,
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.
|
void |
ClientProtocol.deleteSnapshot(String snapshotRoot,
String snapshotName)
Delete a specific snapshot of a snapshottable directory
|
boolean |
ClientProtocol.rename(String src,
String dst)
Rename an item in the file system namespace.
|
void |
ClientProtocol.rename2(String src,
String dst,
Options.Rename... options)
Rename src to dst.
|
void |
ClientProtocol.renameSnapshot(String snapshotRoot,
String snapshotOldName,
String snapshotNewName)
Rename a snapshot
|
void |
ClientProtocol.saveNamespace()
Save namespace image.
|
void |
ClientProtocol.updatePipeline(String clientName,
ExtendedBlock oldBlock,
ExtendedBlock newBlock,
DatanodeID[] newNodes)
Update a pipeline for a block under construction
|
Modifier and Type | Method and Description |
---|---|
void |
NamenodeProtocol.endCheckpoint(NamenodeRegistration registration,
CheckpointSignature sig)
A request to the active name-node to finalize
previously started checkpoint.
|
NamenodeCommand |
NamenodeProtocol.startCheckpoint(NamenodeRegistration registration)
A request to the active name-node to start a checkpoint.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.