ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-5447. WebHCat start Fail with authorization enabled. 1.3.2 fix. (swagle)
Date Fri, 11 Apr 2014 21:12:25 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 1c3c036ca -> 403bdd9e8


AMBARI-5447. WebHCat start Fail with authorization enabled. 1.3.2 fix. (swagle)


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

Branch: refs/heads/trunk
Commit: 403bdd9e82bf03b5ae83f43b08ef2ad0cef12f91
Parents: 1c3c036
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Fri Apr 11 14:12:07 2014 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Fri Apr 11 14:12:07 2014 -0700

----------------------------------------------------------------------
 .../resource_management/libraries/providers/copy_from_local.py     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/403bdd9e/ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
b/ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
index 3fa8a54..9031a77 100644
--- a/ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
+++ b/ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
@@ -64,7 +64,7 @@ class CopyFromLocalProvider(Provider):
     pass
 
     if mode:
-      dir_mode = oct(mode)
+      dir_mode = oct(mode)[1:]
       chmod_cmd = format('fs -chmod {dir_mode} {dest_path}')
 
       ExecuteHadoop(chmod_cmd,


Mime
View raw message