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-17123. Accumulo master start fails on non-root + umask 027 (aonishuk)
Date Wed, 08 Jun 2016 16:10:57 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 c80dd0dfc -> a3f72bf28
  refs/heads/trunk 0c10fb190 -> 963985e42


AMBARI-17123. Accumulo master start fails on non-root + umask 027 (aonishuk)


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

Branch: refs/heads/trunk
Commit: 963985e42691ab6a74fcad56c0aafd9ef6c309a3
Parents: 0c10fb1
Author: Andrew Onishuk <aonishuk@hortonworks.com>
Authored: Wed Jun 8 19:10:49 2016 +0300
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Wed Jun 8 19:10:49 2016 +0300

----------------------------------------------------------------------
 .../ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/963985e4/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py
b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py
index ed6ba68..f65b68a 100644
--- a/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py
+++ b/ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py
@@ -221,7 +221,7 @@ def setup_conf_dir(name=None): # 'master' or 'tserver' or 'monitor' or
'gc' or '
                  logoutput=True,
                  user=params.accumulo_user)
       finally:
-        os.remove(passfile)
+        File(passfile, action = "delete")
 
   if name == 'tracer':
     if params.security_enabled and params.has_secure_user_auth:


Mime
View raw message