title: Files not stored in Distributed Cache
body: <p>I am using DistributedCache. But there are no files in the cache after execution of code.
  I have referred to other similar questions but the answers does not solve my issue.</p>
  
  <p>Please find the code below:</p>
  
  <pre><code>   Configuration conf = new Configuration();
     Job job1 = new Job(conf, "distributed cache");
     Configuration conf1 = job1.getConfiguration();
     DistributedCache.addCacheFile(new Path("File").toUri(), conf1);
     System.out.println("distributed cache file "+DistributedCache.getLocalCacheFiles(conf1));
  </code></pre>
  
  <p>This gives null..</p>
  
  <p>The same thing when given inside mapper also gives null hence. Please let me know your suggestions.</p>
  
  <p>Thanks</p>