diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java index e41c2901537..d4595e42ac1 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java @@ -1642,10 +1642,12 @@ public abstract class HFileReaderImpl implements HFile.Reader, Configurable { /** * Create a Scanner on this file. No seeks or reads are done on creation. Call * {@link HFileScanner#seekTo(Cell)} to position an start the read. There is nothing to clean up - * in a Scanner. Letting go of your references to the scanner is sufficient. Store configuration. - * True if we should cache blocks read in by this scanner. Use positional read rather than - * seek+read if true (pread is better for random reads, seek+read is better scanning). is scanner - * being used for a compaction? + * in a Scanner. Letting go of your references to the scanner is sufficient. + * @param conf Store configuration. + * @param cacheBlocks True if we should cache blocks read in by this scanner. + * @param pread Use positional read rather than seek+read if true (pread is better for + * random reads, seek+read is better scanning). + * @param isCompaction is scanner being used for a compaction? * @return Scanner on this file. */ @Override diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileName.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileName.java index 8f163cf5cc2..f45bbb43240 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileName.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobFileName.java @@ -51,8 +51,11 @@ public final class MobFileName { public static final String REGION_SEP = "_"; /** - * The start key. The string of the latest timestamp of cells in this file, the format is - * yyyymmdd. The uuid + * Creates an instance of MobFileName + * @param startKey The start key. + * @param date The string of the latest timestamp of cells in this file, the format is + * yyyymmdd. + * @param uuid The uuid * @param regionName name of a region, where this file was created during flush or compaction. */ private MobFileName(byte[] startKey, String date, String uuid, String regionName) { @@ -64,8 +67,11 @@ public final class MobFileName { } /** - * The md5 hex string of the start key. The string of the latest timestamp of cells in this file, - * the format is yyyymmdd. The uuid + * Creates an instance of MobFileName + * @param startKey The md5 hex string of the start key. + * @param date The string of the latest timestamp of cells in this file, the format is + * yyyymmdd. + * @param uuid The uuid * @param regionName name of a region, where this file was created during flush or compaction. */ private MobFileName(String startKey, String date, String uuid, String regionName) { @@ -77,8 +83,10 @@ public final class MobFileName { } /** - * Creates an instance of MobFileName The md5 hex string of the start key. The string of the - * latest timestamp of cells in this file, the format is yyyymmdd. + * Creates an instance of MobFileName + * @param startKey The md5 hex string of the start key. + * @param date The string of the latest timestamp of cells in this file, the format is + * yyyymmdd. * @param uuid The uuid. * @param regionName name of a region, where this file was created during flush or compaction. * @return An instance of a MobFileName. @@ -88,8 +96,10 @@ public final class MobFileName { } /** - * Creates an instance of MobFileName The md5 hex string of the start key. The string of the - * latest timestamp of cells in this file, the format is yyyymmdd. + * Creates an instance of MobFileName + * @param startKey The md5 hex string of the start key. + * @param date The string of the latest timestamp of cells in this file, the format is + * yyyymmdd. * @param uuid The uuid. * @param regionName name of a region, where this file was created during flush or compaction. * @return An instance of a MobFileName.