code: LogData fetchLogs(final int execId, final String name, final int attempt,
        final int startByte,
        final int length) throws ExecutorManagerException {
      final FetchLogsHandler handler = new FetchLogsHandler(startByte, length + startByte);
      try {
        return this.dbOperator.query(FetchLogsHandler.FETCH_LOGS, handler,
            execId, name, attempt, startByte, startByte + length);
      } catch (final SQLException e) {
        throw new ExecutorManagerException("Error fetching logs " + execId
            + " : " + name, e);
      }
    }
docs: TODO kunkun-tang: the interface's parameter is called endByte, but actually is length.