[
https://issues.apache.org/jira/browse/HDFS-8155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720043#comment-14720043
]
Chris Nauroth commented on HDFS-8155:
-------------------------------------
{code}
client.setConnectTimeout(URLConnectionFactory.DEFAULT_SOCKET_TIMEOUT,
TimeUnit.MILLISECONDS);
{code}
Sorry if my earlier comment was unclear, but I think we need to call both
{{client.setConnectTimeout}} and {{client.setReadTimeout}}. Otherwise, we
could have a successful connection, but then hang indefinitely on a
non-responsive server.
+1 after that.
I don't know what happened with that last Jenkins run. It's building fine for
me locally.
> Support OAuth2 in WebHDFS
> -------------------------
>
> Key: HDFS-8155
> URL: https://issues.apache.org/jira/browse/HDFS-8155
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: webhdfs
> Reporter: Jakob Homan
> Assignee: Jakob Homan
> Attachments: HDFS-8155-1.patch, HDFS-8155.002.patch,
> HDFS-8155.003.patch, HDFS-8155.004.patch, HDFS-8155.005.patch
>
>
> WebHDFS should be able to accept OAuth2 credentials.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)