Are you running on the sandbox (if so, what version ?) or your own cluster ?
In either case, please check the following configuration item in
capacity-scheduler.xml:
<property>
<name>yarn.scheduler.capacity.maximum-am-resource-percent</name>
<value>0.1</value>
<description>
Maximum percent of resources in the cluster which can be used to run
application masters i.e. controls number of concurrent running
applications.
</description>
</property>
Try increasing the value from 0.1 to 0.5, restart YARN and try launching
multiple applications again.
Ram
On Mon, Jan 30, 2017 at 12:54 AM, Santhosh Kumari G <
[email protected]> wrote:
> Hi,
>
> Can we launch more than one (multiple) apex engine in one node with
> multiple terminals and one yarn running. If yes, what is the process.
>
> I tried launching 2 apex apps with 2 apex engine's. First apex app is
> running without any issue using the port 8042 configured in
> yarn-default.xml Then I tried to launch 2nd app it is saying accepted but
> not running as 8042 port is already in use. When I killed the 1st app,2nd
> app is getting launched automatically.
>
> So can we manage one yarn with multiple apex engine app's?.
>
> Thank you,
> Santhosh Kumari G.
>