Re: use DistributedCache to add many files to class path

2011-02-16 Thread Alejandro Abdelnur
Lei Liu, You have a cut&paste error the second addition should use 'tairJarPath' but it is using the 'jeJarPath' Hope this helps. Alejandro On Thu, Feb 17, 2011 at 11:50 AM, lei liu wrote: > I use DistributedCache to add two files to class path, exampe below code > : >String jeJarPa

use DistributedCache to add many files to class path

2011-02-16 Thread lei liu
I use DistributedCache to add two files to class path, exampe below code : String jeJarPath = "/group/aladdin/lib/je-4.1.7.jar"; DistributedCache.addFileToClassPath(new Path(jeJarPath), conf); String tairJarPath = "/group/aladdin/lib/tair-aladdin-2.3.1.jar" Distrib