Skip to content

Commit 201d734

Browse files
committed
HDFS-15428. Javadocs fails for hadoop-federation-balance. Contributed by Xieming Li.
1 parent ce1008f commit 201d734

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

hadoop-tools/hadoop-federation-balance/src/main/java/org/apache/hadoop/tools/fedbalance/MountTableProcedure.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
/**
4444
* Update mount table.
4545
* Old mount table:
46-
* /a/b/c -> {ns:src path:/a/b/c}
46+
* /a/b/c -> {ns:src path:/a/b/c}
4747
* New mount table:
48-
* /a/b/c -> {ns:dst path:/a/b/c}
48+
* /a/b/c -> {ns:dst path:/a/b/c}
4949
*/
5050
public class MountTableProcedure extends BalanceProcedure {
5151

hadoop-tools/hadoop-federation-balance/src/main/java/org/apache/hadoop/tools/fedbalance/procedure/BalanceProcedureScheduler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.WORK_THREAD_NUM_DEFAULT;
4545
import static org.apache.hadoop.tools.fedbalance.FedBalanceConfigs.JOURNAL_CLASS;
4646
/**
47+
* <pre>
4748
* The state machine framework consist of:
4849
* Job: The state machine. It implements the basic logic of the
4950
* state machine.
@@ -54,14 +55,15 @@
5455
* Journal: It handles the job persistence and recover.
5556
*
5657
* Example:
57-
* Job.Builder builder = new Job.Builder<>();
58+
* Job.Builder builder = new Job.Builder&lt;&gt;();
5859
* builder.nextProcedure(new WaitProcedure("wait", 1000, 30 * 1000));
5960
* Job job = builder.build();
6061
*
6162
* ProcedureScheduler scheduler = new ProcedureScheduler(CONF);
6263
* scheduler.init();
6364
* scheduler.submit(job);
6465
* scheduler.waitUntilDone(job);
66+
* </pre>
6567
*/
6668
public class BalanceProcedureScheduler {
6769
public static final Logger LOG =

0 commit comments

Comments
 (0)