[
https://issues.apache.org/jira/browse/HBASE-14261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704207#comment-14704207
]
Enis Soztutar commented on HBASE-14261:
---------------------------------------
This is good. However a couple of things:
- Zookeeper is usually not started by the hbase scripts. At least in our
deployment and testing, it is always the zkServer that is starting the
zookeeper.
- Hadoop daemons are started with a different user than the hbase user, which
is also possibly different than the test user who is running the CM. Also the
zookeeper user is usually different. Current code base uses a combination of
{{hbase.it.clustermanager.ssh.user}} and {{hbase.it.clustermanager.ssh.cmd}} as
a way to configure the ssh user, and if needed run the command as a different
user. Our test env uses something like this:
{code}
<property>
<name>hbase.it.clustermanager.ssh.cmd</name>
<value>/usr/bin/ssh %1$s %2$s%3$s%4$s "sudo su - hbase -c \"%5$s\""</value>
</property>
{code}.
I think we can add a concept of service user, and have it as the 6th argument
to the {{ssh.cmd}} so that, one can configure the service user per ssh
depending on the service type.
- We have to make killing of datanodes and zk servers optional. Not all
testing needs that.
> Enhance Chaos Monkey framework by adding zookeeper and datanode fault
> injections.
> ---------------------------------------------------------------------------------
>
> Key: HBASE-14261
> URL: https://issues.apache.org/jira/browse/HBASE-14261
> Project: HBase
> Issue Type: Improvement
> Reporter: Srikanth Srungarapu
> Assignee: Srikanth Srungarapu
> Attachments: HBASE-14261-branch-1.patch
>
>
> One of the shortcomings of existing ChaosMonkey framework is lack of fault
> injections for hbase dependencies like zookeeper, hdfs etc. This patch
> attempts to solve this problem partially by adding datanode and zk node fault
> injections.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)