tags:

views:

20

answers:

0

I've tried the following:

DistributedCache.addFileToClassPath(new Path("something.jar"), config);
DistributedCache.addFileToClassPath(new Path("something.class"),config);

The first one works, the second doesn't. Does addFileToClassPath only work for jars? This seems weird because there's also an addArchiveToClassPath method.