List of usage examples for org.apache.hadoop.filecache DistributedCache CACHE_FILES
String CACHE_FILES
To view the source code for org.apache.hadoop.filecache DistributedCache CACHE_FILES.
Click Source Link
From source file:com.liveramp.cascading_ext.bloom.BloomUtil.java
License:Apache License
public static Map<String, String> getPropertiesForDistCache(String bloomFilterPath) throws URISyntaxException { String path = FileSystemHelper.getFS().getUri().resolve(new URI(bloomFilterPath)).toString(); return Collections.singletonMap(DistributedCache.CACHE_FILES, path); }
From source file:org.apache.hcatalog.shims.HCatHadoopShims20S.java
License:Apache License
@Override public String getPropertyName(PropertyName name) { switch (name) { case CACHE_ARCHIVES: return DistributedCache.CACHE_ARCHIVES; case CACHE_FILES: return DistributedCache.CACHE_FILES; case CACHE_SYMLINK: return DistributedCache.CACHE_SYMLINK; }//from w w w . j a v a2 s . c o m return ""; }