You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by Rajesh Kartha <ka...@gmail.com> on 2015/05/30 05:38:18 UTC

Building Slider with Hadoop 2.7 (trying to use updateBlackList method in AMRMClientAsync)

Hello all,

I am using the
 mvn clean site:site site:stage package -DskipTests

to build Slider and also and changed the pom.xml to

<hadoop.version>2.7.0</hadoop.version>

but looks like the build may still be using 2.6.0.

I am trying to use the updateBlackList() method and am getting:

The method updateBlackList(List<String>, List<String>) is undefined for the
type AMRMClientAsync

which does exist in Hadoop 2.7:

https://hadoop.apache.org/docs/current/api/org/apache/hadoop/yarn/client/api/async/AMRMClientAsync.html


Any thoughts on how to ensure Hadoop 2.7 is used for building Slider.

Thanks,
Rajesh

Re: Building Slider with Hadoop 2.7 (trying to use updateBlackList method in AMRMClientAsync)

Posted by Ted Yu <yu...@gmail.com>.
There is a release-2.7 profile you can use without modifying hadoop.version
in pom.xml

Can you pastebin the stack trace you got w.r.t. updateBlackList ?

Cheers

On Fri, May 29, 2015 at 8:38 PM, Rajesh Kartha <ka...@gmail.com> wrote:

> Hello all,
>
> I am using the
>  mvn clean site:site site:stage package -DskipTests
>
> to build Slider and also and changed the pom.xml to
>
> <hadoop.version>2.7.0</hadoop.version>
>
> but looks like the build may still be using 2.6.0.
>
> I am trying to use the updateBlackList() method and am getting:
>
> The method updateBlackList(List<String>, List<String>) is undefined for the
> type AMRMClientAsync
>
> which does exist in Hadoop 2.7:
>
>
> https://hadoop.apache.org/docs/current/api/org/apache/hadoop/yarn/client/api/async/AMRMClientAsync.html
>
>
> Any thoughts on how to ensure Hadoop 2.7 is used for building Slider.
>
> Thanks,
> Rajesh
>