steveloughran commented on a change in pull request #774: HADOOP-16256:
HTTPFileSystem disallows users from configuring the connectionTimeout and
readTimeout of HttpClient
URL: https://github.com/apache/hadoop/pull/774#discussion_r278899264
##########
File path:
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/http/AbstractHttpFileSystem.java
##########
@@ -39,13 +40,19 @@
abstract class AbstractHttpFileSystem extends FileSystem {
private static final long DEFAULT_BLOCK_SIZE = 4096;
private static final Path WORKING_DIR = new Path("/");
+ private static final String CONF_HTTP_READ_TIMEOUT =
"yarn.nodemanager.localizer.http.read.timeout.ms";
Review comment:
1. these should be somewhere where they can be referred to in code, such as
a new class `HttpFileSystemConstants`
2. And their name must be that of the filesystem class, not anything related
to the RM.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]