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) |
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 © 2017 Apache Software Foundation. All Rights Reserved.