You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/01/03 20:10:53 UTC

[GitHub] [accumulo-testing] milleruntime opened a new issue #183: Update agitator to read cluster.yml

milleruntime opened a new issue #183:
URL: https://github.com/apache/accumulo-testing/issues/183


   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 https://github.com/apache/accumulo/pull/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](https://centos.pkgs.org/7/centos-x86_64/perl-YAML-Tiny-1.51-6.el7.noarch.rpm.html) installed. I am not sure if this is the best solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-testing] milleruntime closed issue #183: Update agitator to read cluster.yml

Posted by GitBox <gi...@apache.org>.
milleruntime closed issue #183:
URL: https://github.com/apache/accumulo-testing/issues/183


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-testing] milleruntime commented on issue #183: Update agitator to read cluster.yml

Posted by GitBox <gi...@apache.org>.
milleruntime commented on issue #183:
URL: https://github.com/apache/accumulo-testing/issues/183#issuecomment-1004873801


   > Something I just thought of is to do what the [accumulo-cluster](https://github.com/apache/accumulo/blob/main/assemble/bin/accumulo-cluster#L69) 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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [accumulo-testing] dlmarion commented on issue #183: Update agitator to read cluster.yml

Posted by GitBox <gi...@apache.org>.
dlmarion commented on issue #183:
URL: https://github.com/apache/accumulo-testing/issues/183#issuecomment-1004336615


   Something I just thought of is to do what the [accumulo-cluster](https://github.com/apache/accumulo/blob/main/assemble/bin/accumulo-cluster#L69) 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](https://github.com/Netflix/SimianArmy/tree/master/src/main/resources/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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org