ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14773) Stack advisor error for recommendations request
Date Fri, 22 Jan 2016 15:46:40 GMT

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

Hudson commented on AMBARI-14773:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4212 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4212/])
AMBARI-14773. Stack advisor error for recommendations request (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6f6a7ce72986b20538fbf0578615ebc71ca0813b])
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py


> Stack advisor error for recommendations request
> -----------------------------------------------
>
>                 Key: AMBARI-14773
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14773
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14773.patch
>
>
> I installed cluster with 3 hosts and 4 services and on all services, except
> HDFS (YARN, ZK, MR2) I get error on recommendation request for configs. You
> are able to see it if you open browser console and open service configs page.
> Request returns:
>     
>     
>     {
>       "status" : 500,
>       "message" : "Stack Advisor reported an error: TypeError: 'NoneType' object is unsubscriptable\nStdOut
file: /var/run/ambari-server/stack-recommendations/34/stackadvisor.out\n\nStdErr file: /var/run/ambari-server/stack-recommendations/34/stackadvisor.err"
>     }
>     
> In stackadvisor.err file:
>     
>     
>     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
569, in recommendConfigurations
>         calculation(configurations, clusterSummary, services, hosts)
>       File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py",
line 359, 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 104, 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 253, in recommendHDFSConfigurations
>         dataDirs = hdfsSiteProperties['dfs.datanode.data.dir'].split(",")
>     TypeError: 'NoneType' object is unsubscriptable
>     
> We are not sending dfs.datanode.data.dir if it is not HDFS service.



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

Mime
View raw message