mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dudziński Dariusz (JIRA) <j...@apache.org>
Subject [jira] [Created] (MRUNIT-214) Distributed Cache works differently for mrunit than it does normal
Date Fri, 01 Aug 2014 07:05:38 GMT
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)

Mime
View raw message