VirtualBox UUID already exists

今天创建virtualbox文件时,发现报错如下:

UUID {00c11b02-c807-443d-b10d-dfffe0ae1b96} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

 

需要重新reset UUID, 办法如下:

c:\Program Files\Oracle\VirtualBox>vboxmanage internalcommands sethduuid “D:\program\virtualbox\ubuntu14\Ubuntu-14.vdi”

 

Hbase性能测试工具

环境: HBase,   Yahoo Cloud System Benchmark(YCSB)

测试方法1:

hbase org.apache.hadoop.hbase.PerformanceEvaluation randomRead 3

 

测试方法2:

wget https://github.com/downloads/brianfrankcooper/YCSB/ycsb-0.1.4.tar.gz
tar xfvz ycsb-0.1.4
cd ycsb-0.1.4

加载数据

bin/ycsb load hbase -P workloads/workloada -p columnfamily=f1 -p recordcount=10000 -s -threads 10

测试

bin/ycsb load hbase -P workloads/workloada -p columnfamily=f1 -p recordcount=10000 -s -threads 10