public class ReportBadBlockAction extends Object implements BPServiceActorAction
| Constructor and Description |
|---|
ReportBadBlockAction(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
String storageUuid,
org.apache.hadoop.fs.StorageType storageType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
reportTo(org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB bpNamenode,
org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration bpRegistration) |
String |
toString() |
public ReportBadBlockAction(org.apache.hadoop.hdfs.protocol.ExtendedBlock block,
String storageUuid,
org.apache.hadoop.fs.StorageType storageType)
public void reportTo(org.apache.hadoop.hdfs.protocolPB.DatanodeProtocolClientSideTranslatorPB bpNamenode,
org.apache.hadoop.hdfs.server.protocol.DatanodeRegistration bpRegistration)
throws BPServiceActorActionException
reportTo in interface BPServiceActorActionBPServiceActorActionExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.