code: String getPid(TaskRunner t) {
      if (t != null && t.getTask() != null) {
        if (t.getTask().isMapTask()) {
          JVMId id = mapJvmManager.runningTaskToJvm.get(t);
          if (id != null) {
            return mapJvmManager.jvmIdToPid.get(id);
          }
        } else {
          JVMId id = reduceJvmManager.runningTaskToJvm.get(t);
          if (id != null) {
            return reduceJvmManager.jvmIdToPid.get(id);
          }
        }
      }
      return null;
    }
docs: /*
  Returns the pid of the task