private static void lsschedule() {
		Registry jobTrackerRegistry;
		try {
			jobTrackerRegistry = LocateRegistry.getRegistry(MapReduce.Core.JOB_TRACKER_IP, 
															MapReduce.Core.JOB_TRACKER_REGISTRY_PORT);
			
			JobTrackerRemoteInterface jobTrackerStub = 
					(JobTrackerRemoteInterface) jobTrackerRegistry.lookup(MapReduce.Core.JOB_TRACKER_SERVICE_NAME);
			
			AbstractMap<String, Queue<Task>> scheduleTbl = jobTrackerStub.getScheduleTbl();
			Set<String> taskTrackerIps = scheduleTbl.keySet();
			for (String taskTrackerIp : taskTrackerIps) {
				System.out.println("---------------------------------");
				System.out.println("Task Tracker: " + taskTrackerIp);
				for (Task task : scheduleTbl.get(taskTrackerIp)) {
					System.out.print("Task " + task.getTaskId() + " in job " + task.getJobId());
					if (task instanceof MapperTask) {
						System.out.println(" mapper task");
					} else if (task instanceof ReducerTask) {
						System.out.println(" reducer task");
					} else if (task instanceof KillerTask) {
						System.out.println(" killer task");
					} else {
						System.out.println(" cleaner task");
					}
				}
			}
		} catch (RemoteException e) {
			e.printStackTrace();
		} catch (NotBoundException e) {
			e.printStackTrace();
		}	
	}