hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4237) Add unit tests for HTTP-based filesystems against secure MiniDFSCluster
Date Mon, 17 Dec 2012 21:28:13 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stephen Chu updated HDFS-4237:

    Attachment: HDFS-4237.patch.001

I've attached a patch for secure WebHDFS unit tests.

This patch edits MiniDFSCluster to allow starting multiple secure DataNodes. This involves
finding free ports under 1024. Earlier, from HADOOP-9004, we could only start one secure DataNode.

SecureWebHdfsFileSystemContract is ignored because it extends TestCase (JUnit3) but I use
JUnit4's Assume to check if the external KDC properties are set. TestCase and Assume don't
work together: http://issues.gradle.org/browse/GRADLE-1879

The test cases from SecureWebHdfsFileSystemContract are run in TestSecureWebHDFS, which also
runs TestWebHDFS's _testLargeFile_.

> Add unit tests for HTTP-based filesystems against secure MiniDFSCluster
> -----------------------------------------------------------------------
>                 Key: HDFS-4237
>                 URL: https://issues.apache.org/jira/browse/HDFS-4237
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: security, test, webhdfs
>    Affects Versions: 2.0.0-alpha
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>             Fix For: 3.0.0
>         Attachments: HDFS-4237.patch.001
> Now that we can start a secure MiniDFSCluster (HADOOP-9004), we need more security unit
> A good area to add secure tests is the HTTP-based filesystems (WebHDFS, HttpFs).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message