ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-15715) ASW send invalid requests for config groups
Date Wed, 06 Apr 2016 07:27:25 GMT


Hadoop QA commented on AMBARI-15715:

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment
  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:green}+1 core tests{color}.  The patch passed unit tests in ambari-web.

Test results:
Console output:

This message is automatically generated.

> ASW send invalid requests for config groups
> -------------------------------------------
>                 Key: AMBARI-15715
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Andrii Babiichuk
>            Assignee: Andrii Babiichuk
>             Fix For: 2.4.0
>         Attachments: AMBARI-15715.patch
> There is a cluster with HDFS + ZK
> HDFS has 3 config groups (and 1 Default)
> Open ASW
> Select YARN + MR2
> Proceed to the step "Configure services"
> Create 1 group for YARN and 1 for MR2
> Proceed to "Install, Start and Test"
> ASW sends requests to create all config groups (even already created for HDFS).
> All this requests are failed (for existing groups and for new groups)
> Example with TEZ:
> {noformat}
> curl 'http://HOST:8080/api/v1/clusters/tdk/config_groups/TEZ_1234' -X PUT -H 'Pragma:
no-cache' -H 'Origin: http://HOST:8080' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language:
en-US,en;q=0.8' -H 'X-Requested-By: X-Requested-By' -H 'User-Agent: Mozilla/5.0 (X11; Linux
x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36' -H 'Content-Type:
application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: application/json, text/javascript,
*/*; q=0.01' -H 'Cache-Control: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection:
keep-alive' -H 'Referer: http://HOST:8080/' --data '[{"ConfigGroup":{"cluster_name":"tdk","group_name":"1234","tag":"TEZ","description":"","hosts":[],"desired_configs":[],"id":"TEZ_1234"}}]'
> {noformat}
> {noformat}
> {
>   "status" : 400,
>   "message" : "java.lang.NumberFormatException: For input string: \"TEZ_1234\""
> }
> {noformat}

This message was sent by Atlassian JIRA

View raw message