You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2015/08/30 22:58:45 UTC

[jira] [Comment Edited] (BIGTOP-1978) Add new tests for -setfacl option

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

jay vyas edited comment on BIGTOP-1978 at 8/30/15 8:58 PM:
-----------------------------------------------------------

Hi Evans ...

You can use the exact same methodology that the gradle smoke tests use to test mapreduce...

First, you can see how the framework works by seeing the README in smoke-tests.

Now, the trick you need is to see how to use smoke-tests to run tests from outside directories...

To do this, you use gradle SourceSets.  That allows you to add arbitrary source to the tests at runtime :).

So in summary: 

- See the smoke-tests/mapreduce/build.gradle   snippet...
- it includes test-artifacts into its source,
- thus it can use the smoke-tests gradle runner to run any tests in test-artifacts.

Makes sense? I'm not at my machine at the moment otherwise I would provide the exact snippets.


If any confusion I can try to give exact details later ...:)


was (Author: jayunit100):
Hi Evans ...

You can use the exact same methodology that the gradle smoke tests use to test mapreduce...

First, you can see how the framework works by seeing the README in smoke-tests.

Now, the trick you need is to see how to use smoke-tests to run tests from outside directories...

To do this, you use gradle SourceSets.  That allows you to add arbitrary source to the tests at runtime :).

So in summary: 

- See the smoke-tests/mapreduce/build.gradle   snippet...
- it includes test-artifacts into its source,
- thus it can use the smoke-tests gradle runner to run any tests in test-artifacts.

Makes sense?



> Add new tests for -setfacl option 
> ----------------------------------
>
>                 Key: BIGTOP-1978
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1978
>             Project: Bigtop
>          Issue Type: Sub-task
>          Components: general
>            Reporter: Venkata Srinivasa Rao Kolla 
>            Assignee: Venkata Srinivasa Rao Kolla 
>            Priority: Minor
>         Attachments: BIGTOP-1978.patch
>
>
> Add new tests for hdfs dfs -setfacl command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)