You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2014/07/01 07:38:24 UTC

[jira] [Commented] (BIGTOP-1342) Make TestCLI usable for both HDFS and HCFS

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

jay vyas commented on BIGTOP-1342:
----------------------------------

Martin  :  Can I suggest you

1) Do you think we should create a JIRA in Hadoop which indicates that there should be a *superuser parameter in the hadoop common namespace* ( shouldnt own the notion of a superuser :) other file systems have super users to !)

2) Can we also suggest *alternative way of defining superuser for this test* ? I think its a little self-defeating to depend on an HDFS parameter when we're trying to make the tests  HCFS compliant :)  -- but i totally see why you are using it - let me know if im missing something.  

3) Does this take into account the semantics we agreed on in the BIGTOP-1200 patch ( just a quick thought).

Meanwhile - im still working on spinning up some sturdy vms for testing all this awesome new HCFS testing work. 

Thanks !

> Make TestCLI usable for both HDFS and HCFS
> ------------------------------------------
>
>                 Key: BIGTOP-1342
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1342
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Tests
>    Affects Versions: 0.8.0
>            Reporter: Martin Bukatovic
>         Attachments: BIGTOP-1342.1.patch
>
>
> Current TestCLI test cases are currently only runnable on HDFS.  Since the most
> test cases are applicable on any hadoop filesystem, it makes sense to
> make it general in hcfs sense.
> While most test cases are hcfs generic, some cases are only applicable to HDFS,
> so I propose split the current code into:
>  * general HCFS superclass (with most cases in {{testHCFSConf.xml}} file)
>  * HDFS specific subclass (with hdfs only cases in {{testHDFSConf.xml}})
> I would like to keep {{testHCFSConf.xml}} as a common base for any hadoop
> filesystem, which would require introduction of several additional variables to
> catch minor differences between GlusterFS and HDFS. This should be good enough
> for other hcfs implementations as well, but I didn't tested it.
> Before proposing patch for this, it make sense to have the following resolved:
>  * BIGTOP-1341 TestCLI cleanup
>  * BIGTOP-1334 Add DFS support to TestCLI



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