AnsweredAssumed Answered

Usage of Distributed Cache

Question asked by sxsnyc on Mar 29, 2012
Latest reply on Mar 30, 2012 by sxsnyc
We're migrating from Cloudera 20.2cdhu2 to MapR v. and we're using the DistributedCache.

In our mapper's setUp method, we use the file to initialize a reference data class.  The path the we use is relative to the hdfs user.

How does MapR initialize the Distributed Cache and what does the URI look like if we are referencing a file in HDFS? Requested file path/path/a_reference_file.tsv does not exist
     at com.mapr.fs.MapRFileSystem.getMapRFileStatus(
     at com.mapr.fs.MapRFileSystem.getFileStatus(
     at org.apache.hadoop.filecache.TaskDistributedCacheManager.setupCache(
     at org.apache.hadoop.mapred.TaskTracker$
     at Method)

Thanks for your help.