ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19662) Unknown attributes should not be allowed in quick link filter definitions
Date Sat, 21 Jan 2017 18:40:27 GMT

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

Hadoop QA commented on AMBARI-19662:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12848712/AMBARI-19662-strict-filter-definitions_trunk_v1.patch
  against trunk revision .

    {color:red}-1 patch{color}.  Top-level trunk compilation may be broken.

Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10190//console

This message is automatically generated.

> Unknown attributes should not be allowed in quick link filter definitions
> -------------------------------------------------------------------------
>
>                 Key: AMBARI-19662
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19662
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk, 2.5.0
>            Reporter: Balázs Bence Sári
>            Assignee: Balázs Bence Sári
>             Fix For: trunk, 2.5.0
>
>         Attachments: AMBARI-19662-strict-filter-definitions_trunk_v1.patch
>
>
> When the user makes a syntax error in a quick link definition, such as:
> {code}
> { "linKKK_name": "namenode_ui", "visible": true }
> {code}
> the filter will be misinterpreted as an accept-all filter, due to the fact that the parser
would expect a proper "link_name" tag to interpret it as a link name filter. This would lead
to unexpected and difficult to debug behaviour.
> To prevent this, quick link profile evaluation should throw an exception whenever it
finds unknown tags in a filter definition



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message