-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46638/#review130430
-----------------------------------------------------------


Ship it!




Ship It!

- Dmitro Lisnichenko


On April 25, 2016, 6:14 p.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46638/
> -----------------------------------------------------------
> 
> (Updated April 25, 2016, 6:14 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-16092
>     https://issues.apache.org/jira/browse/AMBARI-16092
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> During deploying secure cluster via blueprints there was found issue in stack 
> adviser:
> {code}
> 2016-04-21 11:38:34,974 - Problem retrieving YARN queues. Skipping updating 
> HIVE Server Interactve 'hive.server2.tez.default.queues' property.
> Error occured in stack advisor.
> Error details: argument of type 'NoneType' is not iterable
> 21 Apr 2016 11:38:35,015  INFO [pool-12-thread-1] StackAdvisorRunner:71 -     
> advisor script stderr: 2016-04-21 11:38:34,974 - Problem retrieving YARN 
> queues. Skipping updating HIVE Server Interactve 
> 'hive.server2.tez.default.queues' property.
> 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 589, in recommendConfigurations
>     calculation(configurations, clusterSummary, services, hosts)
>   File 
> "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.3/services/stack_advisor.py",
>  line 761, in recommendStormConfigurations
>     if not include_atlas and atlas_hook_class in notifier_plugin_value:
> TypeError: argument of type 'NoneType' is not iterable
> 21 Apr 2016 11:38:35,020 ERROR [pool-12-thread-1] 
> ClusterConfigurationRequest:156 - An exception occurred while doing 
> configuration topology update: 
> org.apache.ambari.server.controller.internal.ConfigurationTopologyException: 
> Configuration recommendation failed.
> org.apache.ambari.server.controller.internal.ConfigurationTopologyException: 
> Configuration recommendation failed.
>       at 
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorBlueprintProcessor.adviseConfiguration(StackAdvisorBlueprintProcessor.java:80)
>       at 
> org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:150)
>       at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:760)
>       at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:734)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745)
> Caused by: 
> 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/1/stackadvisor.out
> 
> StdErr file: /var/run/ambari-server/stack-recommendations/1/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.recommend(StackAdvisorHelper.java:109)
>       at 
> org.apache.ambari.server.api.services.stackadvisor.StackAdvisorBlueprintProcessor.adviseConfiguration(StackAdvisorBlueprintProcessor.java:77)
>       ... 9 more
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py 
> e880377 
> 
> Diff: https://reviews.apache.org/r/46638/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>

Reply via email to