static class HFilePerformanceEvaluation.UniformRandomReadBenchmark extends HFilePerformanceEvaluation.ReadBenchmark
Modifier and Type | Field and Description |
---|---|
private Random |
random |
reader
Constructor and Description |
---|
UniformRandomReadBenchmark(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mf,
int totalRows) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
doRow(int i) |
private byte[] |
getRandomRow() |
setUp, tearDown
getReportingPeriod, run
public UniformRandomReadBenchmark(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows)
void doRow(int i) throws Exception
doRow
in class HFilePerformanceEvaluation.RowOrientedBenchmark
Exception
private byte[] getRandomRow()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.