You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Sandy Ryza <sa...@cloudera.com> on 2012/12/31 08:49:30 UTC

Writing tests for command line tools in MR2

I am trying to write a test for "mapred queue -info" (for MAPREDUCE-4896).
 The test requires a running RM ask for the information.  I noticed that
TestJobClient and TestMRJobClient, which test other mapreduce command line
tools, are both @Ignored.  Does anybody know whether these are ignored
because they've gone stale, or because using MiniMRCluster makes tests run
too slow?  If the latter is the case, is there another good way to write a
test like this?

many thanks for any help,
Sandy