[
https://issues.apache.org/jira/browse/BIGTOP-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164527#comment-14164527
]
Dawson Choong commented on BIGTOP-1388:
---------------------------------------
Hi [~jayunit100]
1. [email protected]
2. I am unable to edit the wiki page. It appears that I no longer have editing
priveleges. Should I reapply for these priveleges? or maybe you could
copy/paste it for me?
(begin wiki)
Cluster Failure Tests is a feature that allows users to test the completion of
mapreduce jobs while the cluster's nodes undergo various failures. These
failures include killing node services, restarting services, and dropping the
network.
To test with Cluster Failures, run a test with the "useProperties" parameter
set to "true." For instance, we run TestDFSIO with -DuseProperties=true:
{code}
mvn verify -f bigtop-tests/test-execution/longevity/pom.xml
-DuseProperties=true
-Dorg.apache.maven-failsafe-plugin.testInclude=**/TestDFSIO*/)
{code}
The behavior of the cluster failures as well as other node configurations can
be modified in the properties file. This file can be found in
bigtop-test-framework/.../resources/. Here is an example configuration for the
file:
{code}
testhost=localhost
testremotehost=company.org
runall=true
servicerestart=true
servicekill=true
networkshutdown=true
service=crond
failuredelay=5
startdelay=10
killduration=10
{code}
For more information, please refer to the readme (/bigtop-test-framework/README)
(end wiki)
> Use cluster failure tests during other tests with command line parametrization
> ------------------------------------------------------------------------------
>
> Key: BIGTOP-1388
> URL: https://issues.apache.org/jira/browse/BIGTOP-1388
> Project: Bigtop
> Issue Type: Improvement
> Components: tests
> Affects Versions: 0.7.0
> Reporter: Dawson Choong
> Assignee: Dawson Choong
> Labels: patch
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1388.patch, BIGTOP-1388.patch
>
>
> User can run a series of cluster failures such as killing/restarting a
> service and shutting down the network during a mapr or longevity test. The
> goal is to test that the tests complete during the failures. The failures
> should be able to be specified as a command line parameter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)