public class RouterDistCpProcedure
extends org.apache.hadoop.tools.fedbalance.DistCpProcedure
| Constructor and Description |
|---|
RouterDistCpProcedure() |
RouterDistCpProcedure(String name,
String nextProcedure,
long delayDuration,
org.apache.hadoop.tools.fedbalance.FedBalanceContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disableWrite(org.apache.hadoop.tools.fedbalance.FedBalanceContext context)
Disable write by making the mount entry readonly.
|
protected void |
enableWrite()
Enable write.
|
disableForTest, enableForTest, execute, readFields, updateStage, writepublic RouterDistCpProcedure()
public RouterDistCpProcedure(String name, String nextProcedure, long delayDuration, org.apache.hadoop.tools.fedbalance.FedBalanceContext context) throws IOException
IOExceptionprotected void disableWrite(org.apache.hadoop.tools.fedbalance.FedBalanceContext context)
throws IOException
disableWrite in class org.apache.hadoop.tools.fedbalance.DistCpProcedureIOExceptionprotected void enableWrite()
throws IOException
enableWrite in class org.apache.hadoop.tools.fedbalance.DistCpProcedureIOExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.