public class FsBenchmark
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Usage:
hadoop 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]
for write benchmark, the --file parameter takes a GCS directory location where temp files will be
created. Please clean up the dir after the test| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
int |
run(String[] args) |
public int run(String[] args) throws IOException
run in interface org.apache.hadoop.util.ToolIOExceptionCopyright © 2024. All rights reserved.