ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sumit Mohanty <smoha...@hortonworks.com>
Subject Re: How to add non-standard configuration file to component ?
Date Wed, 06 Jan 2016 06:48:06 GMT
You can use the jinja2 template support. Look for .j2 files and how they are used.
________________________________________
From: Jeff Zhang <zjffdu@gmail.com>
Sent: Tuesday, January 05, 2016 10:36 PM
To: dev@ambari.apache.org
Subject: Re: How to add non-standard configuration file to component ?

If it can not be generated at runtime like other configuration files, I am
fine with just copying this file to conf directory.

On Wed, Jan 6, 2016 at 2:33 PM, Jeff Zhang <zjffdu@gmail.com> wrote:

> I'd like to add one configuration to spark, format like following. It is
> neither hadoop xml nor property file. Is there any way to add this kind of
> configuration file ?
>
> <allocations>
>   <pool name="default">
>      <schedulingMode>FAIR</schedulingMode>
>      <weight>1</weight>
>      <minShare>2</minShare>
>   </pool>
> </allocations>
>
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>



--
Best Regards

Jeff Zhang

Mime
View raw message