[jira] [Commented] (AMBARI-15454) Blueprint install using config_recommendation_strategy is not functional

2016-03-24 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-15454:
-

ABORTED: Integrated in Ambari-trunk-Commit #4541 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4541/])
AMBARI-15454. Blueprint install using config_recommendation_strategy is 
(oleewere: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=fe7f1462bce61a7459f1c6498e588af6315eb9cf])
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java


> Blueprint install using config_recommendation_strategy is not functional
> 
>
> Key: AMBARI-15454
> URL: https://issues.apache.org/jira/browse/AMBARI-15454
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.2.0, 2.2.1
>Reporter: Shantanu Mundkur
>Assignee: Shantanu Mundkur
> Fix For: trunk, 2.4.0
>
> Attachments: AMBARI-15454.patch
>
>
> Blueprint install using config_recommendation strategy seems to hang for a 
> long time (couple of hours?) and ends up logging exceptions continually to 
> ambari-server.log. At the same time many hundreds of directories are seen 
> getting created under /var/run/ambari-server/stack-recommendations (I have 
> seen above 800-900). If you keep it running eventually the cluster install 
> seems to start but fails miserably at least during the start and some of it 
> makes obvious that configuration recommendations were NOT applied.
> 14 Mar 2016 23:26:33,784 ERROR [pool-8-thread-1] TopologyManager:737 - 
> TopologyManager.ConfigureClusterTask: An exception occurred while attempting 
> to process cluster configs and set on cluster:
> java.lang.NullPointerException
> at 
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
> at com.google.common.collect.Maps.filterKeys(Maps.java:2089)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doFilterStackDefaults(BlueprintConfigurationProcessor.java:445)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doRecommendConfigurations(BlueprintConfigurationProcessor.java:418)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForClusterCreate(BlueprintConfigurationProcessor.java:225)
> at 
> org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:97)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:735)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:709)
> 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)
> 14 Mar 2016 23:26:33,784  INFO [pool-3-thread-1] AsyncCallableService:111 - 
> Exception during task execution:
> java.util.concurrent.ExecutionException: java.lang.Exception: 
> java.lang.NullPointerException
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.taskCompleted(AsyncCallableService.java:103)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:74)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:37)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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: java.lang.Exception: java.lang.NullPointerException
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:741)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:709)
> at 

[jira] [Commented] (AMBARI-15454) Blueprint install using config_recommendation_strategy is not functional

2016-03-24 Thread JIRA

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

Olivér Szabó commented on AMBARI-15454:
---

merged into trunk:
{code:java}
commit fe7f1462bce61a7459f1c6498e588af6315eb9cf
Author: oleewere 
Date:   Thu Mar 24 17:13:04 2016 +0100

AMBARI-15454. Blueprint install using config_recommendation_strategy is not 
functional. (Shantanu Mundkur via oleewere)
{code}

> Blueprint install using config_recommendation_strategy is not functional
> 
>
> Key: AMBARI-15454
> URL: https://issues.apache.org/jira/browse/AMBARI-15454
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.2.0, 2.2.1
>Reporter: Shantanu Mundkur
>Assignee: Shantanu Mundkur
> Fix For: trunk, 2.4.0
>
> Attachments: AMBARI-15454.patch
>
>
> Blueprint install using config_recommendation strategy seems to hang for a 
> long time (couple of hours?) and ends up logging exceptions continually to 
> ambari-server.log. At the same time many hundreds of directories are seen 
> getting created under /var/run/ambari-server/stack-recommendations (I have 
> seen above 800-900). If you keep it running eventually the cluster install 
> seems to start but fails miserably at least during the start and some of it 
> makes obvious that configuration recommendations were NOT applied.
> 14 Mar 2016 23:26:33,784 ERROR [pool-8-thread-1] TopologyManager:737 - 
> TopologyManager.ConfigureClusterTask: An exception occurred while attempting 
> to process cluster configs and set on cluster:
> java.lang.NullPointerException
> at 
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
> at com.google.common.collect.Maps.filterKeys(Maps.java:2089)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doFilterStackDefaults(BlueprintConfigurationProcessor.java:445)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doRecommendConfigurations(BlueprintConfigurationProcessor.java:418)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForClusterCreate(BlueprintConfigurationProcessor.java:225)
> at 
> org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:97)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:735)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:709)
> 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)
> 14 Mar 2016 23:26:33,784  INFO [pool-3-thread-1] AsyncCallableService:111 - 
> Exception during task execution:
> java.util.concurrent.ExecutionException: java.lang.Exception: 
> java.lang.NullPointerException
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.taskCompleted(AsyncCallableService.java:103)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:74)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:37)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 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: java.lang.Exception: java.lang.NullPointerException
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:741)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:709)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
> at 
> 

[jira] [Commented] (AMBARI-15454) Blueprint install using config_recommendation_strategy is not functional

2016-03-19 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-15454:


{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12793934/AMBARI-15454.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 1 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/5911//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/5911//console

This message is automatically generated.

> Blueprint install using config_recommendation_strategy is not functional
> 
>
> Key: AMBARI-15454
> URL: https://issues.apache.org/jira/browse/AMBARI-15454
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-server
>Affects Versions: 2.2.0, 2.2.1
>Reporter: Shantanu Mundkur
>Assignee: Shantanu Mundkur
> Fix For: trunk, 2.4.0
>
> Attachments: AMBARI-15454.patch
>
>
> Blueprint install using config_recommendation strategy seems to hang for a 
> long time (couple of hours?) and ends up logging exceptions continually to 
> ambari-server.log. At the same time many hundreds of directories are seen 
> getting created under /var/run/ambari-server/stack-recommendations (I have 
> seen above 800-900). If you keep it running eventually the cluster install 
> seems to start but fails miserably at least during the start and some of it 
> makes obvious that configuration recommendations were NOT applied.
> 14 Mar 2016 23:26:33,784 ERROR [pool-8-thread-1] TopologyManager:737 - 
> TopologyManager.ConfigureClusterTask: An exception occurred while attempting 
> to process cluster configs and set on cluster:
> java.lang.NullPointerException
> at 
> com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
> at com.google.common.collect.Maps.filterKeys(Maps.java:2089)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doFilterStackDefaults(BlueprintConfigurationProcessor.java:445)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doRecommendConfigurations(BlueprintConfigurationProcessor.java:418)
> at 
> org.apache.ambari.server.controller.internal.BlueprintConfigurationProcessor.doUpdateForClusterCreate(BlueprintConfigurationProcessor.java:225)
> at 
> org.apache.ambari.server.topology.ClusterConfigurationRequest.process(ClusterConfigurationRequest.java:97)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:735)
> at 
> org.apache.ambari.server.topology.TopologyManager$ConfigureClusterTask.call(TopologyManager.java:709)
> 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)
> 14 Mar 2016 23:26:33,784  INFO [pool-3-thread-1] AsyncCallableService:111 - 
> Exception during task execution:
> java.util.concurrent.ExecutionException: java.lang.Exception: 
> java.lang.NullPointerException
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.taskCompleted(AsyncCallableService.java:103)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:74)
> at 
> org.apache.ambari.server.topology.AsyncCallableService.call(AsyncCallableService.java:37)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at 
>