simbadzina commented on PR #6519:
URL: https://github.com/apache/hadoop/pull/6519#issuecomment-1924545288

   >To do this, i would assume we need to create the rpcRequestThread 
externally and start it and then add a new API setRpcRequestThread() to 
Connection class, to set it to the new thread. Does this sound right? Or we 
need to add a new constructor for Connection class, to take rpcRequestThread as 
a parameter. Doesn't sound worth doing this for testing this 'trivial' change.
   
   Yes, we'd need a new API to either set the thread, or start it before 
Connection.run(). I couldn't easily find where the Connection thread is 
starting. I agree it doesn't seem worth it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to