List of usage examples for org.apache.hadoop.ha HealthCheckFailedException HealthCheckFailedException
public HealthCheckFailedException(final String message)
From source file:io.hops.util.GroupMembershipService.java
License:Apache License
@Override public synchronized void monitorHealth() throws IOException { checkAccess("monitorHealth"); if (isRMActive() && !rm.areSchedulerServicesRunning()) { throw new HealthCheckFailedException("Active ResourceManager services are not running!"); }/* w ww .j av a 2 s. c o m*/ }