ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (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 19:02:20 GMT

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

Hudson commented on AMBARI-17690:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #5295 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5295/])
AMBARI-17690 StackAdvisor warning is missing at saving configs even when (atkach: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0021fa886f02582aa0824d3d878913a956edfd85])
* ambari-web/app/mixins/common/serverValidator.js


> 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