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

[2/2] ambari git commit: AMBARI-12390. Confirm Hosts step fails with umask 027 and non-root ambari-server user (aonishuk)

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/f28c2493
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f28c2493
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f28c2493

Branch: refs/heads/branch-2.1
Commit: f28c2493e4a853cc9cadc5bd620b4225fe76a7fa
Parents: 38df799
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Sun Jul 12 12:01:50 2015 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Sun Jul 12 12:01:50 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/f28c2493/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):