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

2015-07-12 Thread aonishuk
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 aonis...@hortonworks.com
Authored: Sun Jul 12 12:01:48 2015 +0300
Committer: Andrew Onishuk aonis...@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):



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

2015-07-12 Thread 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 aonis...@hortonworks.com
Authored: Sun Jul 12 12:01:50 2015 +0300
Committer: Andrew Onishuk aonis...@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):