@Override
    public OperationHandle downloadData(
        SessionHandle sessionHandle,
        String tableName,
        String query,
        String format,
        Map<String, String> options) throws HiveSQLException {
      return cliService.downloadData(sessionHandle, tableName, query, format, options);
    }
RetryingThriftCLIServiceClient. Creates a proxy for a CLIServiceClient
implementation and retries calls to it on failure.
service/src/java/org/apache/hive/service/cli/thrift/RetryingThriftCLIServiceClient.java