Yeah your right Markus, I realise this.

What about the tests and the problem with the build. What kind of
behaviour are you getting?

On Wed, Dec 28, 2011 at 1:46 PM, Markus Jelsma
<[email protected]> wrote:
>
>> Some more problems here...
>>
>> Firstly, when I apply NUTCH-1237, I am seeing a mountain of javac
>> warnings ranging right the way through from deprecation such as
>>
>>     [javac] Compiling 169 source files to
>> /home/lewis/ASF/trunk/build/classes [javac] warning: [path] bad path
>> element
>> "/home/lewis/ASF/trunk/build/lib/activation.jar": no such file or
>> directory
>>     [javac] CrawlDbReader.java:36: warning: [deprecation]
>> org.apache.hadoop.io.Closeable in org.apache.hadoop.io has been
>> deprecated
>>     [javac] import org.apache.hadoop.io.Closeable;
>>
>> to
>>
>>     [javac] URLNormalizers.java:103: warning: [unchecked] unchecked
>> conversion [javac] found   : java.util.List
>>     [javac] required: java.util.List<org.apache.nutch.plugin.Extension>
>>     [javac]   private final List<Extension> EMPTY_EXTENSION_LIST =
>> Collections.EMPTY_LIST;
>>
>> to
>>
>>     [javac] CrawlDbReader.java:179: warning: [cast] redundant cast to
>> org.apache.hadoop.io.Text
>>     [javac]       String k = ((Text)key).toString();
>>     [javac]                   ^
>>
>> This relates back to my reasoning for opening NUTCH-1176, there seem
>> to be quite a few issues here, just to confirm, I'm using trunk @
>> revision 1225183 (nightly).
>>
>> Further to this, I have two failing tests TestCrawlDBMerger and
>> TestSegmentMerger...
>
> That's nothing new and has been going on for quite some time.
>
>>
>> Can anyone confirm any of this so I can rule out my local environment
>> messing things up?
>>
>> Thanks
>>
>> On Wed, Dec 28, 2011 at 1:15 PM, Lewis John Mcgibbney
>>
>> <[email protected]> wrote:
>> > Hi Andrzej,
>> >
>> > Can anyone confirm? I've tried this patch locally and although I
>> > couldn't reproduce the original issue, it seems to be working fine for
>> > me as well.
>> >
>> > Thanks Andrzej
>> >
>> > On Wed, Dec 28, 2011 at 1:06 PM, Andrzej Bialecki <[email protected]> wrote:
>> >> On 28/12/2011 12:00, Lewis John Mcgibbney wrote:
>> >>> Hi Guys,
>> >>>
>> >>> Pretty strange compilation failure, this test class hasn't been hacked
>> >>> in months, and from the surface, having looked at the test case there
>> >>> appears to be no obvious reasons for it failing to compile. I've kick
>> >>> started another build on Jenkins to see if it will resolve itself.
>> >>
>> >> I don't think it will - I can reproduce this failure locally. Here's
>> >> what fixed the failure for me (I'm pretty ignorant about ivy/maven so
>> >> there's likely a more correct fix for this):
>> >>
>> >> Index: ivy/ivy.xml
>> >> ===================================================================
>> >> --- ivy/ivy.xml (revision 1225046)
>> >> +++ ivy/ivy.xml (working copy)
>> >> @@ -69,7 +69,7 @@
>> >>                <!--Configuration: test -->
>> >>
>> >>                <!--artifacts needed for testing -->
>> >> -               <dependency org="junit" name="junit" rev="3.8.1"
>> >> conf="test->default" />
>> >> +               <dependency org="junit" name="junit" rev="3.8.1"
>> >> conf="*->default" />
>> >>                <dependency org="org.apache.hadoop" name="hadoop-test"
>> >> rev="0.20.205.0"
>> >>                        conf="test->default" />
>> >>
>> >>
>> >> --
>> >> Best regards,
>> >> Andrzej Bialecki     <><
>> >>  ___. ___ ___ ___ _ _   __________________________________
>> >> [__ || __|__/|__||\/|  Information Retrieval, Semantic Web
>> >> ___|||__||  \|  ||  |  Embedded Unix, System Integration
>> >> http://www.sigram.com  Contact: info at sigram dot com
>> >
>> > --
>> > Lewis



-- 
Lewis

Reply via email to