HDFS-15428. Javadocs fails for hadoop-federation-balance. Contributed by Xieming Li.
This commit is contained in:
parent
ce1008fe61
commit
201d734af3
|
@ -43,9 +43,9 @@ import java.util.List;
|
|||
/**
|
||||
* Update mount table.
|
||||
* Old mount table:
|
||||
* /a/b/c -> {ns:src path:/a/b/c}
|
||||
* /a/b/c -> {ns:src path:/a/b/c}
|
||||
* New mount table:
|
||||
* /a/b/c -> {ns:dst path:/a/b/c}
|
||||
* /a/b/c -> {ns:dst path:/a/b/c}
|
||||
*/
|
||||
public class MountTableProcedure extends BalanceProcedure {
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@ import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.WORK_THREAD_N
|
|||
import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.WORK_THREAD_NUM_DEFAULT;
|
||||
import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.JOURNAL_CLASS;
|
||||
/**
|
||||
* <pre>
|
||||
* The state machine framework consist of:
|
||||
* Job: The state machine. It implements the basic logic of the
|
||||
* state machine.
|
||||
|
@ -54,7 +55,7 @@ import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.JOURNAL_CLASS
|
|||
* Journal: It handles the job persistence and recover.
|
||||
*
|
||||
* Example:
|
||||
* Job.Builder builder = new Job.Builder<>();
|
||||
* Job.Builder builder = new Job.Builder<>();
|
||||
* builder.nextProcedure(new WaitProcedure("wait", 1000, 30 * 1000));
|
||||
* Job job = builder.build();
|
||||
*
|
||||
|
@ -62,6 +63,7 @@ import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.JOURNAL_CLASS
|
|||
* scheduler.init();
|
||||
* scheduler.submit(job);
|
||||
* scheduler.waitUntilDone(job);
|
||||
* </pre>
|
||||
*/
|
||||
public class BalanceProcedureScheduler {
|
||||
public static final Logger LOG =
|
||||
|
|
Loading…
Reference in New Issue