ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Tkach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3884) Validate string-type dynamic configs in YARN and MR2
Date Tue, 26 Nov 2013 11:53:36 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832521#comment-13832521
] 

Andrii Tkach commented on AMBARI-3884:
--------------------------------------

+1 for the patch.

> Validate string-type dynamic configs in YARN and MR2
> ----------------------------------------------------
>
>                 Key: AMBARI-3884
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3884
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.1
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3884.patch
>
>
> We have configs where portions of it are dynamically calculated:
> * mapreduce.map.java.opts
> * mapreduce.reduce.java.opts
> * yarn.app.mapreduce.am.command-opts
> For example we calculate "1024" in the ultimate value of "-Xmx1024m". When the user messes
it up (say "-Xmx100m"), we do not validate correctly. The validators for the above properties
need to be smarter to show warnings.
> The validators have to be robust so that they can tolerate very complex strings and error
cases.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message