You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/06/22 03:34:57 UTC
[jira] [Commented] (AMBARI-17226) When requesting a Kerberos
Descriptor via the REST API, 'when' clauses should optionally be processed
[ https://issues.apache.org/jira/browse/AMBARI-17226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15343648#comment-15343648 ]
Hadoop QA commented on AMBARI-17226:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12812230/AMBARI-17226_branch-2.4_01.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 5 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.state.ServicePropertiesTest
org.apache.ambari.server.agent.TestHeartbeatHandler
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7462//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7462//console
This message is automatically generated.
> When requesting a Kerberos Descriptor via the REST API, 'when' clauses should optionally be processed
> -----------------------------------------------------------------------------------------------------
>
> Key: AMBARI-17226
> URL: https://issues.apache.org/jira/browse/AMBARI-17226
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Fix For: 2.4.0
>
> Attachments: AMBARI-17226_branch-2.4_01.patch, AMBARI-17226_trunk_01.patch
>
>
> When requesting a Kerberos Descriptor via the REST API, 'when' clauses should optionally be processed. If elected to be processed, identities that contain {{when}} clauses will be included or excluded from the resulting descriptor based on the result of the evaluation.
> In the event of an _add service_ scenario, the services being added should be able to be specified so that they can be included in the data used for {{when}}-clause evaluation.
> *Solution*
> Add _{{GET}} directives_ to specify whether {{when}} clauses are to be evaluated (or not) while building the Kerberos Descriptor using the following API call:
> {noformat}
> GET /api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/COMPOSITE?evaluate_when=true
> {noformat}
> If new services are being added, the {{additional_services}} directive should be added to the request so the evaluation can be preformed on the _future_ set of services, which may evaluate differently then the _current_ set of services.
> {noformat}
> GET /api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/COMPOSITE?evaluate_when=true@additional_services=HIVE,TEZ,PIG
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)