What does the method getLocalCacheArchives do?
<p>I am not sure what this method does. It is a part of the class DistributedCache. </p>

<p>I am actually using it in the code for Hadoop Blast. I have a file RunnerMap.java, which has a method setup(Context context) which gets the path for localDB and localBlastProgram as follows:</p>

<pre><code>Configuration conf = context.getConfiguration();
Path[] local = DistributedCache.getLocalCacheArchives(conf);
localDB = local[0].toUri().getPath() + File.separator + conf.get(DataAnalysis.DB_ARCHIVE) + File.separator + conf.get(DataAnalysis.DB_NAME);
localBlastProgram = local[0].toUri().getPath();
</code></pre>

<p>I am relatively new to Java, so I cannot make much sense out of these four lines. </p>

<p>I also cannot find the description of getLocalCacheArchives on MapReduce documentations.</p>