ATLANTBH / jmeter-components

Apache jMeter components
Apache License 2.0
78 stars 51 forks source link

I can't connect to HBase #17

Open WystanW opened 6 years ago

WystanW commented 6 years ago

I'm using JMeter-2.9, Java 1.8.0_44 and HBase-1.3.1. 1.I create a thread group. 2.I create an HBase Connection.

  1. I create an HBase RowKey Sampler. 4.I create a View Results Tree. 5.With the help of docker, I make an virtual HBase cluster on my own computer, There are 3 slaves named slave1,slave2,slave3(using docker) and a master named LinuxMint(my own computer). Now I want to benchmark HBase using JMeter. 6.I write HBase Connection like this: Name: HBase Connection Connection Name:HBase ZK host(I don't know how to write this): LinuxMint or LinuxMint:2181 or LinuxMint,slave1,slave2,slave3? 7.I write HBase RowKey Sampler like this: Connection Name:HBase Table: blog(I create it myself) RowKey:blog1(I create it myself) 8.I click run in three case(LinuxMint or LinuxMint:2181 or LinuxMint,slave1,slave2,slave3). But there are no results and it's running all the time. The result in the command line is like this 2017/09/25 17:19:27 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2017/09/25 17:19:27 ERROR - com.atlantbh.jmeter.plugins.hbasecomponents.config.HBaseConnection: Test error: Multiple HBase connections called HBase 2017/09/25 17:19:27 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2017/09/25 17:19:27 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : 线程组 2017/09/25 17:19:27 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group 线程组. 2017/09/25 17:19:27 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error 2017/09/25 17:19:27 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false 2017/09/25 17:19:27 INFO - jmeter.threads.ThreadGroup: Started thread group number 1 2017/09/25 17:19:27 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started 2017/09/25 17:19:27 INFO - jmeter.threads.JMeterThread: Thread started: 线程组 1-1

Could you please help me?