ambari-issues 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-17690) StackAdvisor warning is missing at saving configs even when there are errors in stackadvisor
Date Wed, 13 Jul 2016 16:38:20 GMT

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

Hadoop QA commented on AMBARI-17690:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12817704/AMBARI-17690.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-web.

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

This message is automatically generated.

> StackAdvisor warning is missing at saving configs even when there are errors in stackadvisor
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17690
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17690
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17690.patch
>
>
> Induce error in stackadvisor script by adding invalid properties. After modifying the
stackadvisor update any config via UI and try to save the config, Stack advisor is expected
to show a warning that the Consistency Check is failed.
> There are errors related to this invalid property in ambari server logs but warning is
not shown up on UI. 
> From ambari-server.log
> {code}
> Error occured in stack advisor.
> Error details: 'hdfs-site'
> 06 Jul 2016 07:23:50,547  INFO [ambari-client-thread-945] StackAdvisorRunner:71 -   
 advisor script stderr: Traceback (most recent call last):
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
>     main(sys.argv)
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 109, in main
>     result = stackAdvisor.recommendConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 757,
in recommendConfigurations
>     calculation(configurations, clusterSummary, services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py",
line 271, in recommendHDFSConfigurations
>     super(HDP23StackAdvisor, self).recommendHDFSConfigurations(configurations, clusterData,
services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.2/services/stack_advisor.py",
line 112, in recommendHDFSConfigurations
>     super(HDP22StackAdvisor, self).recommendHDFSConfigurations(configurations, clusterData,
services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 282, in recommendHDFSConfigurations
>     k = services['configurations']['hdfs-site']['foobar']
> {code}



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

Mime
View raw message