Class ReportBadBlockAction
java.lang.Object
org.apache.hadoop.hdfs.server.datanode.ReportBadBlockAction
- All Implemented Interfaces:
BPServiceActorAction
ReportBadBlockAction is an instruction issued by {{BPOfferService}} to
{{BPServiceActor}} to report bad block to namenode
-
Constructor Summary
ConstructorsConstructorDescriptionReportBadBlockAction(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, String storageUuid, org.apache.hadoop.fs.StorageType storageType) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidreportTo(DatanodeProtocolClientSideTranslatorPB bpNamenode, DatanodeRegistration bpRegistration) toString()
-
Constructor Details
-
ReportBadBlockAction
public ReportBadBlockAction(org.apache.hadoop.hdfs.protocol.ExtendedBlock block, String storageUuid, org.apache.hadoop.fs.StorageType storageType)
-
-
Method Details
-
reportTo
public void reportTo(DatanodeProtocolClientSideTranslatorPB bpNamenode, DatanodeRegistration bpRegistration) throws BPServiceActorActionException - Specified by:
reportToin interfaceBPServiceActorAction- Throws:
BPServiceActorActionException
-
hashCode
public int hashCode() -
equals
-
toString
-