You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Dudziński Dariusz (JIRA)" <ji...@apache.org> on 2014/08/01 09:05:38 UTC
[jira] [Created] (MRUNIT-214) Distributed Cache works differently
for mrunit than it does normal
Dudziński Dariusz created MRUNIT-214:
----------------------------------------
Summary: Distributed Cache works differently for mrunit than it does normal
Key: MRUNIT-214
URL: https://issues.apache.org/jira/browse/MRUNIT-214
Project: MRUnit
Issue Type: Bug
Reporter: Dudziński Dariusz
example structure of files, same in eclipse workspace and hdfs
dir1/dir2/file
when I add the following path to files in driver
DistributedCache.addCacheFile(new URI("dir1/dir2"), conf);
I can invoke it in mapper by using
File file = new File("dir2");
when I do it in mrunit by
DistributedCache.addCacheFile(new URI("dir1/dir2"), conf);
or
mapDriver.addCacheFile("dir1/dir2");
I need to use
File file = new File("dir1/dir2");
--
This message was sent by Atlassian JIRA
(v6.2#6252)