You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2015/07/13 23:35:12 UTC

ambari git commit: AMBARI-12401. Oozie Server start failed and RegionServers down after Node Labels enabled (Eugene Chekanskiy via smlohanty)

Repository: ambari
Updated Branches:
  refs/heads/trunk ac49cda91 -> 0dae8c33e


AMBARI-12401. Oozie Server start failed and RegionServers down after Node Labels enabled (Eugene Chekanskiy via smlohanty)


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

Branch: refs/heads/trunk
Commit: 0dae8c33ea83598b922ad795fc627f052eb394f0
Parents: ac49cda
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Mon Jul 13 14:34:30 2015 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Mon Jul 13 14:34:30 2015 -0700

----------------------------------------------------------------------
 .../resource_management/libraries/providers/hdfs_resource.py     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0dae8c33/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py b/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
index b9fb603..994846f 100644
--- a/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
+++ b/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
@@ -356,9 +356,9 @@ class HdfsResourceWebHDFS:
     
     
   def _fill_in_parent_directories(self, target, results):
-    path_parts = self.util.parse_path(target).split("/") 
+    path_parts = self.util.parse_path(target).split("/")[1:]# [1:] remove '' from parts
     path = "/"
-    
+
     for path_part in path_parts:
       path += path_part + "/"
       results.append(path)