ambari-dev 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-7598) Views: the "properties" object should only be accessible from REST API if AMBARI.ADMIN
Date Thu, 02 Oct 2014 00:17:33 GMT

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

Hadoop QA commented on AMBARI-7598:
-----------------------------------

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

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.actionmanager.TestActionScheduler

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/67//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/67//console

This message is automatically generated.

> Views: the "properties" object should only be accessible from REST API if AMBARI.ADMIN
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-7598
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7598
>             Project: Ambari
>          Issue Type: Task
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7598.patch
>
>
> /api/v1/views/FILES/versions/0.1.0/instances/FILES_1
> Configuration properties for a view instance should only be accessible from the Views
REST API if you are an AMBARI.ADMIN. This protects view instance config props info from regular
users of a view. If a view client-side happens to need access to these properties for some
reason, they should implement a server-side resource in their view that exposes this information.
> {code}
>     "properties" : {
>       "dataworker.defaultFs" : "webhdfs://c6401.ambari.apache.org:50070",
>       "dataworker.username" : null
>     }
> {code}



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

Mime
View raw message