Hyukjin Kwon created SPARK-61319:
------------------------------------

             Summary: Connection-layer parity: ChannelBuilder keepalive and 
userAgent, retried release_session, no token in connection-string errors
                 Key: SPARK-61319
                 URL: https://issues.apache.org/jira/browse/SPARK-61319
             Project: Spark
          Issue Type: Bug
          Components: Connect
    Affects Versions: connect-rust-4.3.0
            Reporter: Hyukjin Kwon


The drop-in ChannelBuilder has no keepalive_* or userAgent properties, so 
DefaultChannelBuilder("sc://host/;grpc_keepalive_time_ms=30000").keepalive_time_ms
 raises AttributeError; PySpark 4.3.0 returns 30000.
release_session is sent once, so a transient UNAVAILABLE at stop leaves the 
server session until its timeout; PySpark retries it under the retry policy.
A bad port in a connection string quotes the whole URL, token included 
(sc://localhost:notaport/;token=SECRET); PySpark's message names only the port, 
and a missing host quotes the URL with the token redacted.




--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to