public void startJob() {
		JobMessage msg = new JobMessage("start", job, toHost, toPort);
		System.out.println("Distributing files on DFS...");
		try {
			Message ret = commModule.send(msg);
			job.setId(Integer.parseInt(ret.getContent()));
			System.out.println("Job #" + job.getId() + " " + job.getName()
					+ " started");
		} catch (RemoteException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			System.exit(-1);
		}
		System.out.println("Status:\n0%");
		ClientHeartBeat heartbeat = new ClientHeartBeat(job);
		Thread t = new Thread(heartbeat);
		t.start();
	}