Repository: ambari
Updated Branches:
  refs/heads/trunk f6e465ed1 -> b2cc1c929


AMBARI-11366. Falcon Server Start failed (aonishuk)


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

Branch: refs/heads/trunk
Commit: b2cc1c929b73e9ac322f1eccd02cf981a3053da8
Parents: f6e465e
Author: Andrew Onishuk <[email protected]>
Authored: Mon May 25 12:46:20 2015 +0300
Committer: Andrew Onishuk <[email protected]>
Committed: Mon May 25 12:46:20 2015 +0300

----------------------------------------------------------------------
 .../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/b2cc1c92/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 260e81e..0f1995c 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
@@ -353,10 +353,10 @@ class HdfsResourceWebHDFS:
     for file in list_status:
       if file['pathSuffix']:
         new_path = target + "/" + file['pathSuffix']
-        results.add(new_path)
+        results.append(new_path)
         
         if file['type'] == 'DIRECTORY':
-          _fill_directories_list(new_path, results)  
+          self._fill_directories_list(new_path, results)  
     
 class HdfsResourceProvider(Provider):
   def __init__(self, resource):

Reply via email to