Package org.apache.hadoop.hbase
Class HFilePerformanceEvaluation.SequentialWriteBenchmark
java.lang.Object
org.apache.hadoop.hbase.HFilePerformanceEvaluation.RowOrientedBenchmark
org.apache.hadoop.hbase.HFilePerformanceEvaluation.SequentialWriteBenchmark
- Enclosing class:
- HFilePerformanceEvaluation
-
Field Summary
Modifier and TypeFieldDescriptionprivate byte[]
protected org.apache.hadoop.hbase.io.hfile.HFile.Writer
-
Constructor Summary
ConstructorDescriptionSequentialWriteBenchmark
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path mf, int totalRows, String codec, String cipher) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.HFilePerformanceEvaluation.RowOrientedBenchmark
run
-
Field Details
-
writer
-
bytes
-
-
Constructor Details
-
SequentialWriteBenchmark
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)
-
-
Method Details
-
setUp
- Overrides:
setUp
in classHFilePerformanceEvaluation.RowOrientedBenchmark
- Throws:
Exception
-
doRow
- Specified by:
doRow
in classHFilePerformanceEvaluation.RowOrientedBenchmark
- Throws:
Exception
-
generateValue
-
getReportingPeriod
- Overrides:
getReportingPeriod
in classHFilePerformanceEvaluation.RowOrientedBenchmark
-
tearDown
- Overrides:
tearDown
in classHFilePerformanceEvaluation.RowOrientedBenchmark
- Throws:
Exception
-