Skip to content

Instantly share code, notes, and snippets.

@butlermh
Created June 9, 2011 10:52
Show Gist options
  • Save butlermh/1016519 to your computer and use it in GitHub Desktop.
Save butlermh/1016519 to your computer and use it in GitHub Desktop.
Changing Driver for the new Hadoop API 3
DistributedCache.addCacheArchive(new URI(path), job);
BECOMES
DistributedCache.addCacheArchive(new URI(path), job.getConfiguration());
job.set("some_property", property_value);
BECOMES
job.getConfiguration().set("some_property", property_value);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment