Generated by
JDiff

Class org.apache.hadoop.hdfs.server.namenode.NameNode

Removed interfaces org.apache.hadoop.hdfs.protocol.ClientProtocol, org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol, org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol, org.apache.hadoop.security.authorize.RefreshAuthorizationPolicyProtocol.
Added interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocols.

Added Constructors
NameNode(Configuration, NamenodeRole)  
 

Removed Methods
FSNamesystem getNamesystem()  
long nextGenerationStamp(Block) {@inheritDoc}
 

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)  
ExportedAccessKeys getAccessKeys() {@inheritDoc}
FileStatus[] getCorruptFiles() {@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 getLinkTarget(String) @inheritDoc
NamenodeRole getRole()  
InetSocketAddress getRpcServerAddress(Configuration)  
FsServerDefaults getServerDefaults() {@inheritDoc}
void initialize(Configuration) Initialize name-node.
void journal(NamenodeRegistration, int, int, byte[])  
long journalSize(NamenodeRegistration)  
void loadNamesystem(Configuration)  
void refreshUserToGroupsMappings(Configuration)  
DatanodeRegistration registerDatanode(DatanodeRegistration)  
void rename(String, String, Rename[]) {@inheritDoc}
long renewDelegationToken(Token)  
boolean restoreFailedStorage(String) @throws AccessControlException @inheritDoc
void setHttpServerAddress(Configuration)  
void setRpcServerAddress(Configuration)  
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[]) Change in return type from FileStatus[] to DirectoryListing.
Change in signature from String to (String, byte[]).
 
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 verifyRequest(NodeRegistration) Change in signature from DatanodeRegistration to NodeRegistration.
Verify request.
 

Added Fields
InetSocketAddress httpAddress HTTP server address
HttpServer httpServer httpServer
NamenodeRegistration nodeRegistration Registration information of this name-node
NamenodeRole role  
InetSocketAddress rpcAddress RPC server address
Server server RPC server
boolean stopRequested only used for testing purposes
 

Changed Fields
FSNamesystem namesystem Change of visibility from public to protected.