ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapan Shridhar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21225) Support for macro based property definitions in Ambari Views
Date Fri, 08 Dec 2017 21:54:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Swapan Shridhar updated AMBARI-21225:
-------------------------------------
    Fix Version/s:     (was: 2.6.1)
                   3.0.0

> Support for macro based property definitions in Ambari Views
> ------------------------------------------------------------
>
>                 Key: AMBARI-21225
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21225
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Sridhar Sailappan
>             Fix For: 3.0.0
>
>         Attachments: Patch_AmbariViewUtils_Macro.txt
>
>
> The attached patch for Ambari Views provides support for property configurations with
macro based definitions (relying on variable expansion of Hadoop Configuration). 
> e.g., Consider the following definition of properties for HDFS.
> 1) In Advanced core-site, property "fs.defaultFS" is defined to have value "${fs.defaultFS.dev}"

> 2) In Custom core-site, property "fs.defaultFS.dev" is defined to have value "hdfs://dev-sandbox.hortonworks.com:8020"
> Now, when referencing the property "fs.defaultFS", the value should be resolved to "hdfs://dev-sandbox.hortonworks.com:8020".

> This is typical variable expansion that is expected in Hadoop Configuration. Refer: https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/conf/Configuration.html
> This functionality of variable expansion is not available with Ambari Views. The attached
patch (on branch-2.4.0) addresses this need.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message