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) |
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 BPServiceActorAction
BPServiceActorActionException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.