[ 
https://issues.apache.org/jira/browse/HDFS-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801299#comment-13801299
 ] 

Jing Zhao commented on HDFS-5363:
---------------------------------

The patch looks good to me. Some minor comments:
# Let's keep the log "LOG.debug("open AuthenticatedURL connection");" and 
"LOG.debug("open URL connection");"
# URLConnectionFactory#setTimeouts(URLConnection, int) can be declared as 
private? And please update its javadoc. Or it can be merged into 
connConfigurator#configure.


> Create SPENGO-authenticated connection in URLConnectionFactory instead of 
> WebHdfsFileSystem
> -------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5363
>                 URL: https://issues.apache.org/jira/browse/HDFS-5363
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-5363.000.patch, HDFS-5363.001.patch, 
> HDFS-5363.002.patch, HDFS-5363.003.patch
>
>
> Currently the WebHdfsSystem class creates the http connection of urls that 
> require SPENGO authentication. This patch moves the above logic to 
> URLConnectionFactory, which is the factory class that supposes to create all 
> http connection of WebHdfs client.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to