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

Zhe Zhang commented on HDFS-5135:
---------------------------------

By "internal methods" do you mean nfsd.read,write, readdir etc.? If those are 
to be avoided, I think we need to call 'mnt' and create a mount point (e.g., 
/mnt/test_hdfs/), and create regular FileInputStream/FileOutSstream out of it. 
Then we can test read, write, readdir, and client access privilege. Let me know 
if you think that's the right direction. Thanks.

> Create a test framework to enable NFS end to end unit test
> ----------------------------------------------------------
>
>                 Key: HDFS-5135
>                 URL: https://issues.apache.org/jira/browse/HDFS-5135
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>    Affects Versions: 2.2.0
>            Reporter: Brandon Li
>            Assignee: Zhe Zhang
>
> Currently, we have to manually start portmap and nfs3 processes to test patch 
> and new functionalities. This JIRA is to track the effort to introduce a test 
> framework to NFS unit test without starting standalone nfs3 processes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to