From 7d245d8f29151c8c802ba15c078acb3a7f56bbf0 Mon Sep 17 00:00:00 2001
From: Thomas White <tomwhite@apache.org>
Date: Wed, 27 May 2009 11:00:11 +0000
Subject: [PATCH] HADOOP-5175. Don't unpack libjars on classpath. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@779106 13f79535-47bb-0310-9956-ffa450edef68
---
 src/mapred/org/apache/hadoop/mapred/JobClient.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mapred/org/apache/hadoop/mapred/JobClient.java b/src/mapred/org/apache/hadoop/mapred/JobClient.java
index b4132ba..c0e25ab 100644
--- a/src/mapred/org/apache/hadoop/mapred/JobClient.java
+++ b/src/mapred/org/apache/hadoop/mapred/JobClient.java
@@ -601,7 +601,7 @@ public class JobClient extends Configured implements MRConstants, Tool  {
       for (String tmpjars: libjarsArr) {
         Path tmp = new Path(tmpjars);
         Path newPath = copyRemoteFiles(fs, libjarsDir, tmp, job, replication);
-        DistributedCache.addArchiveToClassPath(newPath, job);
+        DistributedCache.addFileToClassPath(newPath, job);
       }
     }
     
-- 
1.6.0.4

