Package com.google.cloud.hadoop.fs.gcs
Class FsBenchmark
- java.lang.Object
-
- org.apache.hadoop.conf.Configured
-
- com.google.cloud.hadoop.fs.gcs.FsBenchmark
-
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
public class FsBenchmark extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
File system operations benchmark tool.Usage:
for write benchmark, the --file parameter takes a GCS directory location where temp files will be created. Please clean up the dir after the testhadoop jar /usr/lib/hadoop/lib/gcs-connector.jar com.google.cloud.hadoop.fs.gcs.FsBenchmark \ {read,random-read,write} --file=gs://<bucket_name> [--no-warmup] [--verbose]
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
int
run(String[] args)
-
-
-
Method Detail
-
run
public int run(String[] args) throws IOException
- Specified by:
run
in interfaceorg.apache.hadoop.util.Tool
- Throws:
IOException
-
-