static class HFilePerformanceEvaluation.SequentialWriteBenchmark extends HFilePerformanceEvaluation.RowOrientedBenchmark
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
bytes |
private Random |
random |
protected org.apache.hadoop.hbase.io.hfile.HFile.Writer |
writer |
| Constructor and Description |
|---|
SequentialWriteBenchmark(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path mf,
int totalRows,
String codec,
String cipher) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
doRow(int i) |
private byte[] |
generateValue() |
protected int |
getReportingPeriod() |
(package private) void |
setUp() |
(package private) void |
tearDown() |
runprotected org.apache.hadoop.hbase.io.hfile.HFile.Writer writer
private byte[] bytes
public SequentialWriteBenchmark(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows, String codec, String cipher)
void setUp() throws Exception
setUp in class HFilePerformanceEvaluation.RowOrientedBenchmarkExceptionvoid doRow(int i) throws Exception
doRow in class HFilePerformanceEvaluation.RowOrientedBenchmarkExceptionprivate byte[] generateValue()
protected int getReportingPeriod()
getReportingPeriod in class HFilePerformanceEvaluation.RowOrientedBenchmarkvoid tearDown() throws Exception
tearDown in class HFilePerformanceEvaluation.RowOrientedBenchmarkExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.