Description
/** * Tells the RPC server to expect a connection from a new client. * ... */ public Future<Rpc> registerClient(final String clientId, String secret, RpcDispatcher serverDispatcher) { return registerClient(clientId, secret, serverDispatcher, config.getServerConnectTimeoutMs()); }
config.getServerConnectTimeoutMs() returns value for hive.spark.client.server.connect.timeout, which is meant for timeout for handshake between Hive client and remote Spark driver. Instead, the timeout should be hive.spark.client.connect.timeout, which is for timeout for remote Spark driver in connecting back to Hive client.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-16071 HoS RPCServer misuses the timeout in its RPC handshake
- Resolved
-
HIVE-15893 Followup on HIVE-15671
- Open