ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14773) Stack advisor error for recommendations request
Date Fri, 22 Jan 2016 13:30:39 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk updated AMBARI-14773:
-------------------------------------
    Attachment: AMBARI-14773.patch

> 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