mrunit-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ehsan Haq <ehsan....@klarna.com>
Subject Failing test when using withOutputFormat
Date Thu, 21 Nov 2013 03:58:39 GMT
Hi,
   I am writing some unit test for my project which includes testing with a
real InputFormat, this feature has been added in 1.0.0. However I am facing
a small problem. The real input data is being created in
/tmp/mrunit-0.XXXXX/_
temporary/_attempt__0000_m_000000_0/part-m-00000
instead of being created in something like
/tmp/mrunit-0.XXXX/_temporary/0/_temporary/attempt__0000_m_000000_0/part-m-00000
which is why I am getting exception
org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input Pattern
/tmp/mrunit-0.9020799819009947/*/*/*/* matches 0 files

I tried to copy the unit tests from the MRUnit 1.0.0 source into my project
but still having the same exception.
Can anyone help me to trace the problem quickly?

Kind Regards

-- 
*Muhammad Ehsan ul Haque*
Klarna AB
Norra Stationsgatan 61
SE-113 43 Stockholm

Tel: +46 (0)8- 120 120 00
Fax: +46 (0)8- 120 120 99
Web: www.klarna.com

Mime
View raw message