Likkey opened a new pull request, #4847:
URL: https://github.com/apache/hadoop/pull/4847
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
"dfs.client.socket-timeout" as the default timeout value for all sockets is
applied in multiple places, it is a configuration item with significant impact,
but the value of this configuration item is not checked in the source code and
cannot be corrected in time when it is set to an abnormal value, which affects
the normal use of the program.
[[[HDFS-16721](https://issues.apache.org/jira/browse/HDFS-16721)](https://issues.apache.org/jira/browse/HDFS-16721)](https://issues.apache.org/jira/browse/HDFS-16721)
### How was this patch tested?
This patch uses Precondition.checkArgument() to refine the code for checking
this configuration item.
--
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]