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

Hadoop QA commented on AMBARI-15866:
------------------------------------

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

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

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {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:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

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

This message is automatically generated.

> Renew kerberos keyfile rest API returnes a malformed /request URL 
> ------------------------------------------------------------------
>
>                 Key: AMBARI-15866
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15866
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Di Li
>            Assignee: Di Li
>             Fix For: trunk
>
>         Attachments: AMBARI-15866.patch
>
>
> curl -u admin:admin 
> 'http://myserver.mydomain.com:8080/api/v1/clusters/mycluster?regenerate_keytabs=all'
>  -X PUT -H 'X-Requested-By: ambari' --data 
> '{"Clusters":{"security_type":"KERBEROS"}}'
> {
>   "href" : 
> "http://myserver.mydomain.com:8080/api/v1/clusters/mycluster?regenerate_keytabs=all/requests/15";,
>   "Requests" : {
>     "id" : 15,
>     "status" : "Accepted"
>   }
> }
> Notice the "regenerate_keytabs=all" piece in the URL returned by the Ambari 
> server. If user pulls request status against that URL, he will get the 
> following err.
> curlit GET 
> http://myserver.mydomain.com:8080/api/v1/clusters/mycluster?regenerate_keytabs=all/requests/15
> {
>   "status" : 400,
>   "message" : "The properties [regenerate_keytabs] specified in the request 
> or predicate are not supported for the resource type Cluster."
> }
> The correct url should be 
> http://myserver.mydomain.com:8080/api/v1/clusters/mycluster/requests/15
> This does not effect Ambari web UI as Ambari UI pulls status of all requests 
> by /requests url, instead of using individual request URLs.



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

Reply via email to