ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [19/23] ambari git commit: AMBARI-14608. Ambari fail to be compiled using JDK 1.8 (dgrinenko via dlysnichenko)
Date Mon, 11 Jan 2016 14:38:55 GMT
AMBARI-14608. Ambari fail to be compiled using JDK 1.8 (dgrinenko via dlysnichenko)

This reverts commit 596bc66a775cc0f21beac0d903ddd7bcb786acde.


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5f7aa152
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5f7aa152
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5f7aa152

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 5f7aa152412de03922e40a6e5c6d4916c0b120dc
Parents: 639c40b
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Mon Jan 11 15:22:45 2016 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Mon Jan 11 15:25:09 2016 +0200

----------------------------------------------------------------------
 .../ambari/server/controller/internal/HostResourceProvider.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5f7aa152/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
index 9bc4ab3..da73f15 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java
@@ -876,7 +876,7 @@ public class HostResourceProvider extends AbstractControllerResourceProvider
{
       // Assume the user also wants to delete it entirely, including all clusters.
       clusters.deleteHost(hostRequest.getHostname());
 
-      for (LogicalRequest logicalRequest: topologyManager.getRequests(Collections.EMPTY_LIST))
{
+      for (LogicalRequest logicalRequest: topologyManager.getRequests(Collections.<Long>emptyList()))
{
         logicalRequest.removeHostRequestByHostName(hostRequest.getHostname());
       }
 


Mime
View raw message