You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ticket is for a solution to have the agitator scripts read the new cluster.yml file. The files referenced in the agitator scripts (master-agitator.pl, tserver-agitator.pl, datanode-agitator.pl) no longer exist since apache/accumulo#2238. Related to #182
One solution would be to use the perl library "tiny" to real the YAML file but this will require the install of an additional perl package. For example, if the test cluster were running centos it would need to have the package perl-yaml-tiny installed. I am not sure if this is the best solution.
The text was updated successfully, but these errors were encountered:
Something I just thought of is to do what the accumulo-cluster script does. It invokes a Java class to parse the yaml file and outputs the information in a key-value format.
I have never really looked at the agitator scripts before, it looks like they just start/stop/restart/kill processes. I think we could make the scripts more modular, reuse some code, and maybe include other types of failure. For example, the old Netflix Chaos Monkey scripts use Linux host commands to introduce various things into the environment - high CPU / IO usage, packet loss, packet latency, packet corruption, bad routing, etc.
Something I just thought of is to do what the accumulo-cluster script does. It invokes a Java class to parse the yaml file and outputs the information in a key-value format.
I like this idea. There is a bash script calling the perl scripts so we could probably just eliminate the perl scripts.
This ticket is for a solution to have the agitator scripts read the new cluster.yml file. The files referenced in the agitator scripts (master-agitator.pl, tserver-agitator.pl, datanode-agitator.pl) no longer exist since apache/accumulo#2238. Related to #182
One solution would be to use the perl library "tiny" to real the YAML file but this will require the install of an additional perl package. For example, if the test cluster were running centos it would need to have the package perl-yaml-tiny installed. I am not sure if this is the best solution.
The text was updated successfully, but these errors were encountered: