[
https://issues.apache.org/jira/browse/HDFS-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
zhangduo updated HDFS-8377:
---------------------------
Attachment: HDFS-8377.patch
Support both HTTP/2 and HTTP/1.1 at datanode side WebHdfs.
Add testcase for both http and https.
TestHttpsFileSystem and TestDataNodeHttp2Ssl will fail in PreCommit build
because the lack of ALPN support.
Now I use jetty ALPN, see here
http://eclipse.org/jetty/documentation/current/alpn-chapter.html
It will be included in JDK9.
If you want to run these testcase locally, please download the right alpn-boot
jar in above page for your jdk version, and set a env var
{noformat}
export HADOOP_JVM_BOOT_CLASSPATH="-Xbootclasspath/p:<path to alpn-boot jar>
{noformat}
Maven will append this to the argLine when running testcases.
Thanks.
> Support HTTP/2 in datanode
> --------------------------
>
> Key: HDFS-8377
> URL: https://issues.apache.org/jira/browse/HDFS-8377
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: zhangduo
> Assignee: zhangduo
> Attachments: HDFS-8377.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)