AMBARI-22039. File "hdfs.headless.keytab" has incorrect permission (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b2afb01f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b2afb01f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b2afb01f Branch: refs/heads/branch-2.6 Commit: b2afb01fd62339afc9f264ea7a8918d38c9a1caa Parents: 7165eef Author: Andrew Onishuk <aonis...@hortonworks.com> Authored: Fri Sep 22 13:42:34 2017 +0300 Committer: Andrew Onishuk <aonis...@hortonworks.com> Committed: Fri Sep 22 13:42:34 2017 +0300 ---------------------------------------------------------------------- .../common-services/ZEPPELIN/0.7.0/package/scripts/master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b2afb01f/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py index 7d44d16..382566e 100644 --- a/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py +++ b/ambari-server/src/main/resources/common-services/ZEPPELIN/0.7.0/package/scripts/master.py @@ -327,7 +327,7 @@ class Master(Script): action="download_on_execute", source=self.getZeppelinConfFS(params), group=params.zeppelin_group, - user=params.zeppelin_user) + owner=params.zeppelin_user) except Fail as fail: if "doesn't exist" not in fail.args[0]: print "Error getting interpreter.json from HDFS" @@ -357,7 +357,7 @@ class Master(Script): action="create_on_execute", source=interpreter_config, group=params.zeppelin_group, - user=params.zeppelin_user, + owner=params.zeppelin_user, replace_existing_files=True) def update_kerberos_properties(self):