Browse Source

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

Andrew Onishuk 9 years ago
parent
commit
a3f72bf287

+ 1 - 1
ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/accumulo_configuration.py

@@ -215,7 +215,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: