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-13195) Stack advisor error: argument of type 'NoneType' is not iterable
Date Fri, 25 Sep 2015 17:01:04 GMT

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

Hudson commented on AMBARI-13195:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3514 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3514/])
AMBARI-13195. Stack advisor error: argument of type 'NoneType' is not iterable. Second patch
(akovalenko) (akovalenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=31096c8ab690e96029e360710db275642c952fb7)
* ambari-web/app/mixins/common/serverValidator.js


> Stack advisor error: argument of type 'NoneType' is not iterable
> ----------------------------------------------------------------
>
>                 Key: AMBARI-13195
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13195
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>            Reporter: Aleksandr Kovalenko
>            Assignee: Aleksandr Kovalenko
>            Priority: Blocker
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13195.patch, AMBARI-13195_2.patch
>
>
> Upgraded from 2.0.2 -> 2.1.2 and tried to perform RU. YARN pre-check requires to set
yarn.timeline-service.recovery.enabled to true. When I try to do that, I get stack advisor
error
> {code}
> Recommendations: {'yarn.nodemanager.container-executor.class': 'org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor',
'yarn.scheduler.minimum-allocation-vcores': '1', 'yarn.scheduler.maximum-allocation-vcores':
'3', 'yarn.nodemanager.resource.memory-mb': '12288', 'yarn.scheduler.minimum-allocation-mb':
'3072', 'yarn.nodemanager.resource.cpu-vcores': '3', 'yarn.scheduler.maximum-allocation-mb':
'12288', 'yarn.nodemanager.linux-container-executor.group': 'hadoop'}
> ********
> Error occured in stack advisor.
> Error details: argument of type 'NoneType' is not iterable
> 21 Sep 2015 16:11:02,579  INFO [qtp-client-24] 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 115, in main
>     result = stackAdvisor.validateConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 463,
in validateConfigurations
>     validationItems = self.getConfigurationsValidationItems(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 555, in getConfigurationsValidationItems
>     resultItems = method(siteProperties, siteRecommendations, configurations, services,
hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 972, in validateYARNConfigurations
>     {"config-name": 'yarn.nodemanager.linux-container-executor.group', "item": self.validatorEqualsPropertyItem(properties,
"yarn.nodemanager.linux-container-executor.group", clusterEnv, "user_group")},
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 890, in validatorEqualsPropertyItem
>     if not propertyName2 in properties2:
> TypeError: argument of type 'NoneType' is not iterable
> 21 Sep 2015 16:11:02,580  WARN [qtp-client-24] AbstractResourceProvider:90 - Error occurred
during validation
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorException: Stack Advisor
reported an error: TypeError: argument of type 'NoneType' is not iterable
> StdOut file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.out
> StdErr file: /var/run/ambari-server/stack-recommendations/5/stackadvisor.err
>         at org.apache.ambari.server.api.services.stackadvisor.StackAdvisorRunner.runScript(StackAdvisorRunner.java:96)
>         at org.apache.ambari.server.api.services.stackadvisor.commands.StackAdvisorCommand.invoke(StackAdvisorCommand.java:258)
>         at org.apache.ambari.server.api.services.stackadvisor.StackAdvisorHelper.validate(StackAdvisorHelper.java:74)
>         at org.apache.ambari.server.controller.internal.ValidationResourceProvider.createResources(ValidationResourceProvider.java:85)
>         at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:289)
>         at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:76)
> {code}



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

Mime
View raw message