[ https://issues.apache.org/jira/browse/HDFS-9711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146225#comment-15146225 ]
Chris Nauroth commented on HDFS-9711: ------------------------------------- I can see that {{TestRollingFileSystemSinkWithSecureHdfs}} fails when run on JDK 7, but not when run on JDK 8. This is unrelated to the patch. This test was introduced in HDFS-9780, so I've asked the contributors on that one to take a look. Aside from that, I cannot reproduce the other test failures. The Checkstyle warning is about a missing package-info.java file for the {{org.apache.hadoop.hdfs.server.datanode.web}} package. It's not worthwhile adding this for a package that isn't part of the public API. > Integrate CSRF prevention filter in WebHDFS. > -------------------------------------------- > > Key: HDFS-9711 > URL: https://issues.apache.org/jira/browse/HDFS-9711 > Project: Hadoop HDFS > Issue Type: New Feature > Components: datanode, namenode, webhdfs > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-9711.001.patch, HDFS-9711.002.patch, > HDFS-9711.003.patch, HDFS-9711.004.patch, HDFS-9711.005.patch > > > HADOOP-12691 introduced a filter in Hadoop Common to help REST APIs guard > against cross-site request forgery attacks. This issue tracks integration of > that filter in WebHDFS. -- This message was sent by Atlassian JIRA (v6.3.4#6332)