prestodb/presto · error · PrestoException

GENERIC_INTERNAL_ERROR

GENERIC_INTERNAL_ERROR

Error message

unsupported task result client scheme 

What it means

HttpAndThriftRpcShuffleClientProvider.get() does not recognize the scheme of the task result URI (only http/https and the thrift-rc schemes are handled), so no shuffle client can be created for that worker location.

Source

Thrown at presto-main/src/main/java/com/facebook/presto/operator/HttpAndThriftRpcShuffleClientProvider.java:49

    public HttpAndThriftRpcShuffleClientProvider(
            @ForExchange HttpShuffleClientProvider httpShuffleClientProvider,
            @ForExchange ThriftShuffleClientProvider thriftShuffleClientProvider)
    {
        this.httpShuffleClientProvider = httpShuffleClientProvider;
        this.thriftShuffleClientProvider = thriftShuffleClientProvider;
    }

    @Override
    public RpcShuffleClient get(URI location)
    {
        switch (location.getScheme().toLowerCase(Locale.getDefault())) {
            case "https":
            case "http":
                return httpShuffleClientProvider.get(location);
            case "thrift":
                return thriftShuffleClientProvider.get(location);
            default:
                throw new PrestoException(GENERIC_INTERNAL_ERROR, "unsupported task result client scheme " + location.getScheme());
        }
    }
}

View on GitHub (pinned to 55bb57d202)

Solutions

  1. Check exchange communication settings so workers advertise http(s) or thrift-rpc URIs
  2. Verify cluster configuration consistency for the exchange transport
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at presto-main/src/main/java/com/facebook/presto/operator/HttpAndThriftRpcShuffleClientProvider.java:49 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of prestodb/presto@55bb57d202 (2026-09-04). Data as JSON: /api/errors/494c7b574174559f. Report an issue: GitHub.