ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <>
Subject [jira] [Updated] (AMBARI-2299) Custom config UI need to be compatible with multi-line values
Date Thu, 06 Jun 2013 20:12:21 GMT


Yusaku Sako updated AMBARI-2299:

    Attachment: AMBARI-2299_2.patch
> Custom config UI need to be compatible with multi-line values
> -------------------------------------------------------------
>                 Key: AMBARI-2299
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>             Fix For: 1.2.5
>         Attachments: AMBARI-2299_2.patch, AMBARI-2299.patch
> We need to be able to handle multi-line custom prop values that NEED to be on separate
> For example needs a value that is multiple distinct lines...
> {noformat}
>     <value>
>        RULE:[2:$1@$0]([jt]t@.*EXAMPLE.COM)s/.*/mapred/
>        RULE:[2:$1@$0]([nd]n@.*EXAMPLE.COM)s/.*/hdfs/
>        DEFAULT
>    </value>
> {noformat}
> When we pop-up the custom prop dialog, show a text area for the value, so we are good
there.  But then we always use a single text input field on the Configs page, so it's pretty
much impossible to edit.
> Perhaps we can scan the value and see if it contains newlines.  If it contains newlines,
then we can display it in a text area rather than a text field.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message