Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.protocolPB |
Modifier and Type | Method and Description |
---|---|
LocatedBlock |
ClientProtocol.append(String src,
String clientName)
Append to the end of the file.
|
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.
|
void |
ClientProtocol.rename2(String src,
String dst,
Options.Rename... options)
Rename src to dst.
|
boolean |
ClientProtocol.setReplication(String src,
short replication)
Set replication for an existing file.
|
Modifier and Type | Method and Description |
---|---|
LocatedBlock |
ClientNamenodeProtocolTranslatorPB.append(String src,
String clientName) |
HdfsFileStatus |
ClientNamenodeProtocolTranslatorPB.create(String src,
FsPermission masked,
String clientName,
EnumSetWritable<CreateFlag> flag,
boolean createParent,
short replication,
long blockSize) |
void |
ClientNamenodeProtocolTranslatorPB.rename2(String src,
String dst,
Options.Rename... options) |
boolean |
ClientNamenodeProtocolTranslatorPB.setReplication(String src,
short replication) |
Copyright © 2013 Apache Software Foundation. All rights reserved.