In contrast, what is the scenario where it didn't work then? This may be a dumb question that a Hadoop guru would know better. MapTask.run() occurs in the... master? but not on the "client side". I don't know why the classpath would be different though, but, this is the essential issue.
(I've not seen this ever.) On Mon, Feb 21, 2011 at 7:52 PM, Zhengguo 'Mike' SUN <[email protected]> wrote: > Yes. I put the .jar files under the lib/ directory of my own jar. I didn't > set the Class-Path in MANIFEST.MF in the past. I just tried putting all jar > files in the Class-Path of MANIFEST.MF, it still gave me the same exception. > My experiment is a little bit different. It creates a Vector in the map > function of the Mapper class. It worked correctly in the cluster. >
