brumi1024 commented on code in PR #6419:
URL: https://github.com/apache/hadoop/pull/6419#discussion_r1445247512
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineConnector.java:
##########
@@ -145,14 +145,14 @@ protected void serviceInit(Configuration conf) throws
Exception {
@Override
public HttpURLConnection configure(HttpURLConnection conn)
throws IOException {
- setTimeouts(conn, DEFAULT_SOCKET_TIMEOUT);
+ setTimeouts(conn, 60_000);
Review Comment:
Nit: the behaviour changed a bet, if someone simply edits the socketTimeout
variable, this won't be changed with it. Shouldn't the socketTimeout be used
here as well?
--
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]