Hi Zoltán,

> Nutch 1.13 build depends on Hadoop 2.7.2

That's defined in ivy/ivy.xml at
  <!-- Hadoop Dependencies -->
  <dependency org="org.apache.hadoop" name="hadoop-common" rev="2.7.2" 
conf="*->default">
  ...
Change the version here (and in the following lines for "hadoop-hdfs" etc.) and 
build with
  ant clean runtime test

I wouldn't expect problems. If yes, please, open a Jira issue to upgrade.
In general, it's little work to adapt Nutch to a different minor Hadoop version.


> some 2.2.0 hits the `lib` directory as well under the `build`

Please, open a Jira issue to exclude this Hadoop version. It's probably
a dependency of a dependency...


Best,
Sebastian


On 07/19/2017 09:34 PM, Zoltán Zvara wrote:
> Hi Community,
> 
> Nutch 1.13 build depends on Hadoop 2.7.2 and some 2.2.0 hits the `lib` 
> directory as well under the `build`. However, we use Hadoop 2.8.0 currently. 
> I've found no traces in the ant build to define the Hadoop version, so I've 
> just changed every instance of 2.7.2 to 2.8.0. Everything works fine now. 
> Moreover, 2.2.0 libraries still messed with the class-loader, raising errors 
> on object casts. Is there any way to specify the Hadoop version in the ant 
> build? Thanks.
> 
> Best,
> Zoltán
> 

Reply via email to