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-13028) Need more informative error message on set-current
Date Mon, 07 Sep 2015 21:52:46 GMT

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

Hadoop QA commented on AMBARI-13028:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12754518/AMBARI-13028.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/3733//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3733//console

This message is automatically generated.

> Need more informative error message on set-current
> --------------------------------------------------
>
>                 Key: AMBARI-13028
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13028
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.1
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13028.patch
>
>
> When a user performances a manual upgrade (2.2 -> 2.3 or maint), they have to run
set-current at the end and provide cluster name and version display name.
> If they incorrectly enter the cluster name, the error looks like this:
> {code}
> ambari-server set-current --cluster-name=os-rhel6-upgrade-t2-allservices --version-display-name=HDP-2.2.8.0
> Using python  /usr/bin/python2.6
> Setting current version...
> Enter Ambari Admin login: admin
> Enter Ambari Admin password:
> ERROR: Exiting with exit code 1.
> REASON: Error during setting current version. Http status code - 500.
>  {
>   "status" : 500,
>   "message" : "org.apache.ambari.server.controller.spi.SystemException: Can not perform
request"
> }
> {code}
> This error should be a lot more informative to tell the user the cluster was not found,
that they should provide the cluster name and to double-check their command.



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

Mime
View raw message