ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [1/2] ambari git commit: AMBARI-12390. Confirm Hosts step fails with umask 027 and non-root ambari-server user (aonishuk)
Date Sun, 12 Jul 2015 09:02:06 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 38df799a5 -> f28c2493e
  refs/heads/trunk f540afa05 -> 99c5ab336


AMBARI-12390. Confirm Hosts step fails with umask 027 and non-root ambari-server user (aonishuk)


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

Branch: refs/heads/trunk
Commit: 99c5ab3369723a1ef56783fbf8b9cea149f828a5
Parents: f540afa
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Sun Jul 12 12:01:48 2015 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Sun Jul 12 12:01:48 2015 +0300

----------------------------------------------------------------------
 ambari-server/src/main/python/bootstrap.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/99c5ab33/ambari-server/src/main/python/bootstrap.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/bootstrap.py b/ambari-server/src/main/python/bootstrap.py
index 436d631..95ad4d1 100755
--- a/ambari-server/src/main/python/bootstrap.py
+++ b/ambari-server/src/main/python/bootstrap.py
@@ -458,6 +458,7 @@ class BootstrapDefault(Bootstrap):
               target, params.bootdir, self.host_log)
     result = scp.run()
     self.host_log.write("\n")
+    result["exitstatus"] = 0 # ignore not copied *.pyc files with permission denied. 
     return result
 
   def getMoveRepoFileWithPasswordCommand(self, targetDir):


Mime
View raw message