HBASE-8032 TestNodeHealthCheckChore.testHealthChecker failed 0.95 build #36
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
71c9e007bd
commit
3361261726
|
@ -65,7 +65,8 @@ class HealthChecker {
|
|||
execScript.add(healthCheckScript);
|
||||
this.shexec = new ShellCommandExecutor(execScript.toArray(new String[execScript.size()]), null,
|
||||
null, scriptTimeout);
|
||||
LOG.info("HealthChecker initialized with script at " + this.healthCheckScript);
|
||||
LOG.info("HealthChecker initialized with script at " + this.healthCheckScript +
|
||||
", timeout=" + timeout);
|
||||
}
|
||||
|
||||
public HealthReport checkHealth() {
|
||||
|
|
|
@ -136,7 +136,7 @@ public class TestNodeHealthCheckChore {
|
|||
healthScriptFile = new File(tempDir.getAbsolutePath(), "HealthScript.sh");
|
||||
conf.set(HConstants.HEALTH_SCRIPT_LOC, healthScriptFile.getAbsolutePath());
|
||||
conf.setLong(HConstants.HEALTH_FAILURE_THRESHOLD, 3);
|
||||
conf.setLong(HConstants.HEALTH_SCRIPT_TIMEOUT, 200);
|
||||
conf.setLong(HConstants.HEALTH_SCRIPT_TIMEOUT, 2000);
|
||||
return conf;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue