package ca.mcgill.mcb.pcingola.bigDataScript.cluster.host;

import ca.mcgill.mcb.pcingola.bigDataScript.cluster.Cluster;

/**
 * Local host information
 *
 * @author pcingola@mcgill.ca
 */
public class HostSsh extends Host {

	HostHealth health;

	public HostSsh(Cluster cluster, String hostName) {
		super(cluster, hostName);

		// Set basic parameters
		resources.setCpus(1);
		health.setAlive(true);
		health = new HostHealth(this);
	}

	public HostHealth getHealth() {
		return health;
	}

	@Override
	public boolean isAlive() {
		return getHealth().isAlive();
	}

}

@@ -383,55 +383,56 @@
 alth
-.setAlive(true);%0A%09%09health = new HostHealth(this
+ = new HostHealth(this);%09%0A%09%09health.setAlive(true
 );%0A%09

Update HostSsh.java