Skip to content

Commit d836b54

Browse files
Fix Javadoc syntax errors
1 parent 3e31ed2 commit d836b54

4 files changed

Lines changed: 12 additions & 11 deletions

File tree

hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/RoundRobinTableInputFormat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
* host few or none. This class does a pass over the return from the super-class to better spread
4444
* the load. See the below helpful Flipkart blog post for a description and from where the base of
4545
* this code comes from (with permission).
46-
* @see https://tech.flipkart.com/is-data-locality-always-out-of-the-box-in-hadoop-not-really-2ae9c95163cb
46+
* @see <a href="https://tech.flipkart.com/is-data-locality-always-out-of-the-box-in-hadoop-not-really-2ae9c95163cb">
47+
* Is data locality always out of the box in Hadoop? Not really</a>
4748
*/
4849
@InterfaceAudience.Public
4950
public class RoundRobinTableInputFormat extends TableInputFormat {

hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruAdaptiveBlockCache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public class LruAdaptiveBlockCache implements FirstLevelBlockCache {
147147
private static final String LRU_MIN_FACTOR_CONFIG_NAME = "hbase.lru.blockcache.min.factor";
148148

149149
/**
150-
* Acceptable size of cache (no evictions if size < acceptable)
150+
* Acceptable size of cache (no evictions if {@code size < acceptable})
151151
*/
152152
private static final String LRU_ACCEPTABLE_FACTOR_CONFIG_NAME =
153153
"hbase.lru.blockcache.acceptable.factor";
@@ -264,10 +264,10 @@ public class LruAdaptiveBlockCache implements FirstLevelBlockCache {
264264
/** Approximate block size */
265265
private final long blockSize;
266266

267-
/** Acceptable size of cache (no evictions if size < acceptable) */
267+
/** Acceptable size of cache (no evictions if {@code size < acceptable}) */
268268
private final float acceptableFactor;
269269

270-
/** Minimum threshold of cache (when evicting, evict until size < min) */
270+
/** Minimum threshold of cache (when evicting, evict until {@code size < min}) */
271271
private final float minFactor;
272272

273273
/** Single access bucket size */

hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class LruBlockCache implements FirstLevelBlockCache {
9898
private static final String LRU_MIN_FACTOR_CONFIG_NAME = "hbase.lru.blockcache.min.factor";
9999

100100
/**
101-
* Acceptable size of cache (no evictions if size < acceptable)
101+
* Acceptable size of cache (no evictions if {@code size < acceptable})
102102
*/
103103
private static final String LRU_ACCEPTABLE_FACTOR_CONFIG_NAME =
104104
"hbase.lru.blockcache.acceptable.factor";
@@ -213,10 +213,10 @@ public class LruBlockCache implements FirstLevelBlockCache {
213213
/** Approximate block size */
214214
private long blockSize;
215215

216-
/** Acceptable size of cache (no evictions if size < acceptable) */
216+
/** Acceptable size of cache (no evictions if {@code size < acceptable}) */
217217
private float acceptableFactor;
218218

219-
/** Minimum threshold of cache (when evicting, evict until size < min) */
219+
/** Minimum threshold of cache (when evicting, evict until {@code size < min}) */
220220
private float minFactor;
221221

222222
/** Single access bucket size */

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MemStoreSizing.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@
3232
* 3 examples to illustrate their usage:
3333
* <p>
3434
* Consider a store with 100MB of key-values allocated on-heap and 20MB of metadata allocated
35-
* on-heap. The counters are <100MB, 120MB, 0>, respectively.
35+
* on-heap. The counters are {@code <100MB, 120MB, 0>}, respectively.
3636
* </p>
3737
* <p>
3838
* Consider a store with 100MB of key-values allocated off-heap and 20MB of metadata allocated
39-
* on-heap (e.g, CAM index). The counters are <100MB, 20MB, 100MB>, respectively.
39+
* on-heap (e.g, CAM index). The counters are {@code <100MB, 20MB, 100MB>}, respectively.
4040
* </p>
4141
* <p>
4242
* Consider a store with 100MB of key-values from which 95MB are allocated off-heap and 5MB are
4343
* allocated on-heap (e.g., due to upserts) and 20MB of metadata from which 15MB allocated off-heap
44-
* (e.g, CCM index) and 5MB allocated on-heap (e.g, CSLM index in active). The counters are <100MB,
45-
* 10MB, 110MB>, respectively.
44+
* (e.g, CCM index) and 5MB allocated on-heap (e.g, CSLM index in active). The counters are
45+
* {@code <100MB, 10MB, 110MB>}, respectively.
4646
* </p>
4747
* Like {@link TimeRangeTracker}, it has thread-safe and non-thread-safe implementations.
4848
*/

0 commit comments

Comments
 (0)