Home » Hadoop » Hadoop – Tips

Hadoop – Tips

Recent Comments

String cacheFilePath = args[3];
DistributedCache.createSymlink(jobconf);
try {
DistributedCache.addCacheFile(new URI(cacheFilePath), jobconf);
} catch (URISyntaxException e) {
driverLogger.error(“Exception in adding the countrylookup cache file”);
}
jobconf.set(NAC2Constants.iso2_cc_filename, cacheFilePath.substring(cacheFilePath.indexOf(“#”) + 1, cacheFilePath.length()));

——————————————————————————————————————————————————————————http://codingjunkie.net/secondary-sort/

——————————————————————————————————————————————————————————


Leave a comment