org.apache.hadoop.hdfs.server.protocol.NamenodeProtocolpublic class RouterNamenodeProtocol
extends java.lang.Object
implements org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol
NamenodeProtocol in the
RouterRpcServer.| Constructor | Description |
|---|---|
RouterNamenodeProtocol(RouterRpcServer server) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
endCheckpoint(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration,
org.apache.hadoop.hdfs.server.namenode.CheckpointSignature sig) |
|
void |
errorReport(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration,
int errorCode,
java.lang.String msg) |
|
org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys |
getBlockKeys() |
|
org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations |
getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long hotBlockTimeInterval,
org.apache.hadoop.fs.StorageType storageType) |
|
org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest |
getEditLogManifest(long sinceTxId) |
|
long |
getMostRecentCheckpointTxId() |
|
java.lang.Long |
getNextSPSPath() |
|
long |
getTransactionID() |
|
boolean |
isRollingUpgrade() |
|
boolean |
isUpgradeFinalized() |
|
org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration |
registerSubordinateNamenode(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration) |
|
org.apache.hadoop.hdfs.server.namenode.CheckpointSignature |
rollEditLog() |
|
org.apache.hadoop.hdfs.server.protocol.NamenodeCommand |
startCheckpoint(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration) |
|
org.apache.hadoop.hdfs.server.protocol.NamespaceInfo |
versionRequest() |
public RouterNamenodeProtocol(RouterRpcServer server)
public org.apache.hadoop.hdfs.server.protocol.BlocksWithLocations getBlocks(org.apache.hadoop.hdfs.protocol.DatanodeInfo datanode,
long size,
long minBlockSize,
long hotBlockTimeInterval,
org.apache.hadoop.fs.StorageType storageType)
throws java.io.IOException
getBlocks in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.security.token.block.ExportedBlockKeys getBlockKeys()
throws java.io.IOException
getBlockKeys in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic long getTransactionID()
throws java.io.IOException
getTransactionID in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic long getMostRecentCheckpointTxId()
throws java.io.IOException
getMostRecentCheckpointTxId in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.server.namenode.CheckpointSignature rollEditLog()
throws java.io.IOException
rollEditLog in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.server.protocol.NamespaceInfo versionRequest()
throws java.io.IOException
versionRequest in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic void errorReport(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration,
int errorCode,
java.lang.String msg)
throws java.io.IOException
errorReport in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registerSubordinateNamenode(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration)
throws java.io.IOException
registerSubordinateNamenode in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.server.protocol.NamenodeCommand startCheckpoint(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration)
throws java.io.IOException
startCheckpoint in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic void endCheckpoint(org.apache.hadoop.hdfs.server.protocol.NamenodeRegistration registration,
org.apache.hadoop.hdfs.server.namenode.CheckpointSignature sig)
throws java.io.IOException
endCheckpoint in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic org.apache.hadoop.hdfs.server.protocol.RemoteEditLogManifest getEditLogManifest(long sinceTxId)
throws java.io.IOException
getEditLogManifest in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic boolean isUpgradeFinalized()
throws java.io.IOException
isUpgradeFinalized in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic boolean isRollingUpgrade()
throws java.io.IOException
isRollingUpgrade in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionpublic java.lang.Long getNextSPSPath()
throws java.io.IOException
getNextSPSPath in interface org.apache.hadoop.hdfs.server.protocol.NamenodeProtocoljava.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.