hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Collins <...@cloudera.com>
Subject Re: HADOOP-6704 - getResource() usage ok?
Date Fri, 30 Apr 2010 20:17:25 GMT
Hey Neil,

There are other uses of getResource in Hadoop so should be fine.
Should you be using getClassLoader#getResource() instead of


On Fri, Apr 30, 2010 at 12:46 PM, Neil Bliss <neil@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

View raw message