Hey Neil, There are other uses of getResource in Hadoop so should be fine. Should you be using getClassLoader#getResource() instead of Class#getResource()?
Thanks, Eli On Fri, Apr 30, 2010 at 12:46 PM, Neil Bliss <n...@neilbliss.com> wrote: > Hey folks, > > In the unit tests for my HADOOP-6704 patch, I'm using getResource() to get > the URL of a sample xml file. On my local system this works fine, but when > I submitted the patch to Hudson, it appears to not find the resource file. > Is this sort of thing not allowed in the Hudson environment, or am I just > doing something wrong? > > I've already fixed up the checkstyle errors that I missed the first time > around. Gomen nasai. > > thanks, > > Neil >