internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/ShuffleServerGrpcClient.java [849:881]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    RssProtos.StatusCode statusCode = rpcResponse.getStatus();

    RssGetShuffleResultResponse response;
    switch (statusCode) {
      case SUCCESS:
        try {
          response =
              new RssGetShuffleResultResponse(
                  StatusCode.SUCCESS, rpcResponse.getSerializedBitmap().toByteArray());
        } catch (Exception e) {
          throw new RssException(e);
        }
        break;
      default:
        String msg =
            "Can't get shuffle result from "
                + host
                + ":"
                + port
                + " for [appId="
                + request.getAppId()
                + ", shuffleId="
                + request.getShuffleId()
                + ", errorMsg:"
                + rpcResponse.getRetMsg();
        LOG.error(msg);
        throw new RssFetchFailedException(msg);
    }

    return response;
  }

  @Override
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



internal-client/src/main/java/org/apache/uniffle/client/impl/grpc/ShuffleServerGrpcClient.java [898:930]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    RssProtos.StatusCode statusCode = rpcResponse.getStatus();

    RssGetShuffleResultResponse response;
    switch (statusCode) {
      case SUCCESS:
        try {
          response =
              new RssGetShuffleResultResponse(
                  StatusCode.SUCCESS, rpcResponse.getSerializedBitmap().toByteArray());
        } catch (Exception e) {
          throw new RssException(e);
        }
        break;
      default:
        String msg =
            "Can't get shuffle result from "
                + host
                + ":"
                + port
                + " for [appId="
                + request.getAppId()
                + ", shuffleId="
                + request.getShuffleId()
                + ", errorMsg:"
                + rpcResponse.getRetMsg();
        LOG.error(msg);
        throw new RssFetchFailedException(msg);
    }

    return response;
  }

  @Override
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



