MAPREDUCE-6865. Fix typo in javadoc for DistributedCache. Contributed by Attila Sasvari.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/34a931c0 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/34a931c0 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/34a931c0 Branch: refs/heads/HDFS-10467 Commit: 34a931c0fa5853fbcaadf0211d6bbee881715748 Parents: ffa160d Author: Naganarasimha <naganarasimha...@apache.org> Authored: Mon Mar 20 00:04:23 2017 +0530 Committer: Naganarasimha <naganarasimha...@apache.org> Committed: Mon Mar 20 00:04:23 2017 +0530 ---------------------------------------------------------------------- .../java/org/apache/hadoop/filecache/DistributedCache.java | 8 ++++---- .../apache/hadoop/mapreduce/filecache/DistributedCache.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/34a931c0/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/filecache/DistributedCache.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/filecache/DistributedCache.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/filecache/DistributedCache.java index 65d4329..90f8649 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/filecache/DistributedCache.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/filecache/DistributedCache.java @@ -83,11 +83,11 @@ import org.apache.hadoop.mapreduce.MRJobConfig; * JobConf job = new JobConf(); * DistributedCache.addCacheFile(new URI("/myapp/lookup.dat#lookup.dat"), * job); - * DistributedCache.addCacheArchive(new URI("/myapp/map.zip", job); + * DistributedCache.addCacheArchive(new URI("/myapp/map.zip"), job); * DistributedCache.addFileToClassPath(new Path("/myapp/mylib.jar"), job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytar.tar", job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytgz.tgz", job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytargz.tar.gz", job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytar.tar"), job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytgz.tgz"), job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytargz.tar.gz"), job); * * 3. Use the cached files in the {@link org.apache.hadoop.mapred.Mapper} * or {@link org.apache.hadoop.mapred.Reducer}: http://git-wip-us.apache.org/repos/asf/hadoop/blob/34a931c0/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/DistributedCache.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/DistributedCache.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/DistributedCache.java index 0c43633..532e3ad 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/DistributedCache.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/filecache/DistributedCache.java @@ -85,11 +85,11 @@ import java.net.URI; * JobConf job = new JobConf(); * DistributedCache.addCacheFile(new URI("/myapp/lookup.dat#lookup.dat"), * job); - * DistributedCache.addCacheArchive(new URI("/myapp/map.zip", job); + * DistributedCache.addCacheArchive(new URI("/myapp/map.zip"), job); * DistributedCache.addFileToClassPath(new Path("/myapp/mylib.jar"), job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytar.tar", job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytgz.tgz", job); - * DistributedCache.addCacheArchive(new URI("/myapp/mytargz.tar.gz", job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytar.tar"), job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytgz.tgz"), job); + * DistributedCache.addCacheArchive(new URI("/myapp/mytargz.tar.gz"), job); * * 3. Use the cached files in the {@link org.apache.hadoop.mapred.Mapper} * or {@link org.apache.hadoop.mapred.Reducer}: --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org