HBase - Jmeter 负载测试给出 - 检查“zookeeper.znode.parent”中配置的值

问题描述

我正在尝试使用 Jmeter 加载测试 HBase。 在 Jmeter.log 文件中,我看到 hbase-site.xml 文件被选中。以下是日志片段:

2021-02-10 10:27:05,791 INFO o.a.j.JMeter: Loading user properties from: user.properties
2021-02-10 10:27:05,791 INFO o.a.j.JMeter: Loading system properties from: system.properties
2021-02-10 10:27:05,792 INFO o.a.j.JMeter: Setting System property: javax.security.auth.useSubjectCredsOnly=false
2021-02-10 10:27:05,792 INFO o.a.j.JMeter: Setting System property: java.security.krb5.conf=/etc/krb5.conf
2021-02-10 10:27:05,792 INFO o.a.j.JMeter: Setting System property: java.security.auth.login.config=/home/svctranhist/gss-jaas.conf
2021-02-10 10:27:05,792 INFO o.a.j.JMeter: Setting System properties from file: /etc/hbase/conf/hbase-site.xml
2021-02-10 10:27:05,804 INFO o.a.j.JMeter: copyright (c) 1998-2021 The Apache Software Foundation
2021-02-10 10:27:05,805 INFO o.a.j.JMeter: Version 5.4.1

并且 hbase-site.xml 具有 zookeeper.znode.parent 属性。但是在运行 jmx 文件时,我收到以下错误

2021-02-10 09:16:08,969 ERROR o.a.h.h.z.ZooKeeperNodeTracker: Check the value configured in 'zookeeper.znode.parent'. There Could be a mismatch with the one configured in the master.

我正在使用以下命令运行 JMX 文件

./jmeter -Djavax.security.auth.useSubjectCredsOnly=false -Djava.security.krb5.conf=/etc/krb5.conf -Djava.security.auth.login.config=/home/svctranhist/gss-jaas.conf -S /etc/hbase/conf/hbase-site.xml -n -t ../HBase_Load_Test_Plan.jmx -l ./hbase_50.csv

我错过了什么吗?我需要明确给zookeeper.znode.parent吗?我坚持这一点。有人可以帮我解决这个问题。提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)