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

Colin Patrick McCabe commented on HDFS-3606:
--------------------------------------------

bq. The following should be updated now that HDFS-3633 is in right?  // TODO: 
Non-recursive delete should fail?

Unfortunately, that still doesn't work when I un-comment it.  I'm not sure 
exactly why hdfsDelete is behaving this way.  It definitely seems like it 
should give ENOTDIR or something, but instead it returns 0.

I guess we can check up on this issue later (not sure if it merits a JIRA or 
not).  For now, this test will make things a lot better...
                
> libhdfs: create self-contained unit test
> ----------------------------------------
>
>                 Key: HDFS-3606
>                 URL: https://issues.apache.org/jira/browse/HDFS-3606
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: libhdfs
>    Affects Versions: 2.0.1-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>         Attachments: HDFS-3606.001.patch, HDFS-3606.003.patch, 
> HDFS-3606.004.patch
>
>
> We should have a self-contained unit test for libhdfs and also for FUSE.
> We do have hdfs_test, but it is not self-contained (it requires a cluster to 
> already be running before it can be used.)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to