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

jun aoki commented on BIGTOP-1188:
----------------------------------

There are 2 Shell instances defined 
{code:title=TestHttpFs.groovy}
 49     private static Shell shHDFS = new Shell("/bin/bash", USERNAME);         
                                   
 50     private static Shell sh = new Shell("/bin/bash");
{code}

{code:title=TestHttpFs.groovy}
110         sh.exec("curl -i -X DELETE 
'$HTTPFS_PREFIX$testHttpFsFolder?user.name=$USERNAME&op=DELETE'");
111         assertTrue("curl command to delete a dir failed", shHDFS.getRet() 
== 0);

{code}

and curl are called by sh but ret code is got by shHDFS instance.
Are they discrepancy? 

> Smoke tests for HttpFs
> ----------------------
>
>                 Key: BIGTOP-1188
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1188
>             Project: Bigtop
>          Issue Type: New Feature
>            Reporter: Adam Kawa
>            Assignee: Roman Shaposhnik
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: BIGTOP-1188.1.patch
>
>
> Perhaps, it might an independent (optional) module (instead of simply adding 
> tests in hadoop/hdfs module), because one could have no HttpFs installed and 
> running on his/her cluster.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to