0

I am facing an issue using a Hadoop's DistributedCache. I am getting java.lang.ClassNotFoundException for the jars which were successfully added to cache. I revealed the problem: - The client is running on Windows machine and seems that mapred.job.classpath.archives are resolved on client side. Since the classpath is OS dependant I am getting evaluated to:

mapred.job.classpath.archives /distcache/MinuteCheckMetrics-1.0-SNAPSHOT.jar;/distcache/HBaseSchema-1.0-SNAPSHOT.jar;

Where ; is not valid on Unix hence the class is not found.

Is there any setting on client side (DistributedManager, Configuration etc.) which would solve this and make client independent?

I am using hadoop 1.0.4. and DistributedCache.addArchiveToClassPath() Thanks for helping me out

4

1 回答 1

1

报告问题https://issues.apache.org/jira/browse/HADOOP-9123

快速解析可以是:java.lang.System.setProperty("path.separator", ":");

于 2013-08-06T11:37:45.537 回答