GitHub user fsareshwala opened a pull request:
https://github.com/apache/bigtop/pull/86
BIGTOP-2317. Add smoke tests for QFS
This change adds some simple testing for qfs running under hadoop. The
bigtop
repository already has smoke tests for the hadoop mapreduce framework. It
simply
runs the examples through the hadoop infrastructure and ensures that the
output
is valid and expected files within the filesystem are present. This change
modifies the bigtop code to support running the same examples but using qfs
as
the backend filesystem. This is done through dynamically supplying the
hadoop
command to use. In the hadoop hdfs mapreduce scenario, we use the standard
hadoop command that uses hdfs as the backend filesystem. In the hadoop qfs
mapreduce scenario, we use the hadoop-qfs command that uses qfs as the
backend
filesystem. The qfs tests simply reference the mapreduce tests and tell it
to
use the hadoop-qfs command instead of the hadoop command.
I have tested this works by running the qfs smoke tests using the BigTop
provisioner under docker. The build and tests pass without issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fsareshwala/bigtop qfs-smoke-tests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bigtop/pull/86.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #86
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---