@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }

      TaskWrapper that = (TaskWrapper) o;

      return taskRunnerCallable.getRequestId()
          .equals(that.taskRunnerCallable.getRequestId());
    }
@param currentFinishableState
@return true if the state has not changed from currentFinishableState, false otherwise
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/TaskExecutorService.java