On 31 October 2014 01:15, [email protected] <[email protected]> wrote:

> Hi all,
>
> I have 2 questions,
> 1. Is there a way to extend the REST API(add some customized api)?
>

in the app master? Not really no. In fact, REST and YARN don't go together
too well: you can't do anything in the web UI other than GET.


> 2. Is there a way to add/remove component/component instance at the
> runtime?
>
>
do you mean dynamically adding components to resources.json? Certainly you
can add them after an application instance has been set up. The flex
command does this; what it is really doing is editing the resources.json
file for that instance, then, if the cluster is running, send it a message
saying "reread your specification"

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Reply via email to