ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Souvik Sarkhel <souvik.sark...@gmail.com>
Subject Re: Need pointers to build HA capabilty for a custom Stack in Ambari
Date Fri, 20 Jan 2017 15:21:11 GMT
Hi Matt,
Thanks for the information.

Regards,
Souvik Sarkhel

On Thu, Jan 19, 2017 at 11:51 AM, Mithun Mathew <mithmatt@gmail.com> wrote:

> Hi Souvik
>
>
> For custom HA support, you may take a look at an example of an HA wizard
> and try to implement your own or tweak the existing one to make it work for
> your use case.
>
> All the code is under ambari-web (EmberJs). Here are the controllers and
> views for NN HA:
> https://github.com/apache/ambari/tree/trunk/ambari-web/
> app/controllers/main/admin/highAvailability/nameNode
> https://github.com/apache/ambari/tree/trunk/ambari-web/
> app/views/main/admin/highAvailability/nameNode
> I think the most of the code can be re-used as is to a great extent,
> possibly with a lot of component name re-naming.
>
>
> Regards
> Matt
>
> On Sat, Jan 7, 2017 at 2:19 AM, Souvik Sarkhel <souvik.sarkhel@gmail.com>
> wrote:
>
>> Hi Yusaku,
>>
>> Thanks for the information.
>> Is there any plan to make it declarative/ pluggable anytime soon?
>> If not can you suggest some ways to create a custom HA support.
>>
>> Thanks,
>> Souvik Sarkhel
>>
>> On Sat, Jan 7, 2017 at 12:24 AM, Yusaku Sako <yusaku@hortonworks.com>
>> wrote:
>>
>>> Hi Souvik,
>>>
>>> Unfortunately, much of configuration / orchestration logic for
>>> supporting HA still live in Ambari Web.
>>> Ideally this needs to be declarative / pluggable so that it lives in the
>>> stack/service definition, rather than be hardcoded into Ambari Web.
>>>
>>> +dev list
>>>
>>> Yusaku
>>>
>>> From: Souvik Sarkhel
>>> Reply-To: "user@ambari.apache.org"
>>> Date: Friday, January 6, 2017 at 10:47 AM
>>> To: "user@ambari.apache.org"
>>> Subject: Re: Need pointers to build HA capabilty for a custom Stack in
>>> Ambari
>>>
>>> Hi All,
>>>
>>> I have developed a custom stack for Ambari which is working completely
>>> fine.
>>> Now I need to add HA capability for a few components like
>>> Hadoop,ResourceManager,Tomcat etc.The problem is I can't use any of the
>>> existing components of HDP stack.
>>> Thus I am looking for pointers from where I can start how HA can be
>>> implemented.
>>> I have found some information like in the files located under ambari
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00>
>>> /ambari-web
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web>
>>> /app
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app>
>>> /controllers
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers>
>>> /main
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers/main>
>>> /admin
>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers/main/admin>
>>> /highAvailability/ ,so can someone please tell me whether I am looking
>>> in the correct direction and if I am correct then the whole HA capability
>>> part lies in ambari-web project and not under ambari-server project?
>>>
>>> Thanks,
>>> Souvik Sarkhel
>>>
>>> On Dec 28, 2016 10:10 PM, "Souvik Sarkhel" <souvik.sarkhel@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have developed a custom stack for Ambari which is working completely
>>>> fine.
>>>> Now I need to add HA capability for a few components like
>>>> Hadoop,ResourceManager,Tomcat etc.The problem is I can't use any of the
>>>> existing components of HDP stack.
>>>> Thus I am looking for pointers from where I can start how HA can be
>>>> implemented.
>>>> I have found some information like in the files located under ambari
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00>
>>>> /ambari-web
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web>
>>>> /app
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app>
>>>> /controllers
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers>
>>>> /main
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers/main>
>>>> /admin
>>>> <https://github.com/apache/ambari/tree/0fa8238c7eda8a2b3fa826d8aafb97ee64f27e00/ambari-web/app/controllers/main/admin>
>>>> /highAvailability/ ,so can someone please tell me whether I am looking
>>>> in the correct direction and if I am correct then the whole HA capability
>>>> part lies in ambari-web project and not under ambari-server project?
>>>>
>>>> --
>>>> Souvik Sarkhel
>>>>
>>>
>>
>>
>> --
>> Souvik Sarkhel
>>
>
>
>
> --
> *Mithun Mathew* (Matt)
>
>    - www.linkedin.com/in/mithunmatt/
>
>


-- 
Souvik Sarkhel

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message