Added Methods |
void cancelDelegationToken(Token )
|
|
void concat(String, String[])
|
{@inheritDoc} |
void createSymlink(String, String, FsPermission, boolean)
|
@inheritDoc |
void endCheckpoint(NamenodeRegistration, CheckpointSignature)
|
|
void errorReport(NamenodeRegistration, int, String)
|
|
ExportedBlockKeys getBlockKeys()
|
{@inheritDoc} |
Token getDelegationToken(Text )
|
|
HdfsFileStatus getFileLinkInfo(String )
|
Get the file info for a specific file. |
String getHostPortString(InetSocketAddress )
|
Compose a "host:port" string from the address. |
InetSocketAddress getHttpServerAddress(Configuration )
|
|
String getInfoServer(Configuration )
|
|
String getLinkTarget(String )
|
@inheritDoc |
NamenodeRole getRole()
|
|
InetSocketAddress getRpcServerAddress(Configuration )
|
|
FsServerDefaults getServerDefaults()
|
{@inheritDoc} |
InetSocketAddress getServiceAddress(Configuration, boolean)
|
Fetches the address for services to use when connecting to namenode based on the value of fallback returns null if the special address is not specified or returns the default namenode address to be used by both clients and services. |
InetSocketAddress getServiceRpcServerAddress(Configuration )
|
Given a configuration get the address of the service rpc server If the service rpc is not configured returns null |
void initialize(Configuration )
|
Initialize name-node. |
void journal(NamenodeRegistration, int, int, byte[])
|
|
long journalSize(NamenodeRegistration )
|
|
Collection listCorruptFileBlocks(String, String)
|
@param path Sub-tree used in querying corrupt files |
void loadNamesystem(Configuration )
|
|
boolean recoverLease(String, String)
|
{@inheritDoc} |
void refreshSuperUserGroupsConfiguration()
|
|
void refreshUserToGroupsMappings()
|
|
DatanodeRegistration registerDatanode(DatanodeRegistration )
|
|
void rename(String, String, Rename[])
|
{@inheritDoc} |
long renewDelegationToken(Token )
|
|
boolean restoreFailedStorage(String )
|
@throws AccessControlException @inheritDoc |
void setHttpServerAddress(Configuration )
|
|
void setRpcServerAddress(Configuration )
|
|
void setRpcServiceServerAddress(Configuration )
|
Modifies the configuration passed to contain the service rpc address setting |
void setServiceAddress(Configuration, String)
|
Set the configuration property for the service rpc address to address |
NamenodeCommand startCheckpoint(NamenodeRegistration )
|
|
LocatedBlock updateBlockForPipeline(Block, String)
|
{@inheritDoc} |
void updatePipeline(String, Block, Block, DatanodeID[])
|
|
Changed Methods |
LocatedBlock addBlock(String, String, Block, DatanodeInfo[])
|
Change in signature from (String, String ) to (String, String, Block, DatanodeInfo[] ).
|
|
boolean complete(String, String, Block)
|
Change in signature from (String, String ) to (String, String, Block ).
|
{@inheritDoc} |
void create(String, FsPermission, String, EnumSetWritable, boolean, short, long)
|
Change in signature from (String, FsPermission, String, boolean, short, long ) to (String, FsPermission, String, EnumSetWritable, boolean, short, long ).
|
{@inheritDoc} |
HdfsFileStatus getFileInfo(String )
|
Change in return type from FileStatus to HdfsFileStatus .
|
Get the file info for a specific file. |
DirectoryListing getListing(String, byte[], boolean)
|
Change in return type from FileStatus[] to DirectoryListing .
Change in signature from String to (String, byte[], boolean ).
|
|
long[] getStats()
|
Change in exceptions thrown from java.io.IOException to no exceptions.
|
@inheritDoc |
boolean mkdirs(String, FsPermission, boolean)
|
Change in signature from (String, FsPermission ) to (String, FsPermission, boolean ).
|
{@inheritDoc} |
NamenodeRegistration register(NamenodeRegistration )
|
Change in return type from DatanodeRegistration to NamenodeRegistration .
Change in signature from DatanodeRegistration to NamenodeRegistration .
|
|
void rollFsImage(CheckpointSignature )
|
Change in signature from void to CheckpointSignature .
|
Roll the image |
DatanodeCommand[] sendHeartbeat(DatanodeRegistration, long, long, long, int, int, int)
|
Change in signature from (DatanodeRegistration, long, long, long, int, int ) to (DatanodeRegistration, long, long, long, int, int, int ).
|
Data node notify the name node that it is alive Return an array of block-oriented commands for the datanode to execute. |
void verifyRequest(NodeRegistration )
|
Change in signature from DatanodeRegistration to NodeRegistration .
|
Verify request. |