Repository: ambari Updated Branches: refs/heads/trunk 9c53dffb9 -> f63c8db05
AMBARI-16077. Ambari sys prep script should create Spark events directory (smohanty) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f63c8db0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f63c8db0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f63c8db0 Branch: refs/heads/trunk Commit: f63c8db05405dad85582d8c843e994015cdfee83 Parents: 9c53dff Author: Sumit Mohanty <[email protected]> Authored: Sat Apr 23 12:46:06 2016 -0700 Committer: Sumit Mohanty <[email protected]> Committed: Sat Apr 23 12:47:15 2016 -0700 ---------------------------------------------------------------------- ambari-server/src/main/resources/scripts/Ambaripreupload.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/f63c8db0/ambari-server/src/main/resources/scripts/Ambaripreupload.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/scripts/Ambaripreupload.py b/ambari-server/src/main/resources/scripts/Ambaripreupload.py index 99c6b46..7c8c601 100644 --- a/ambari-server/src/main/resources/scripts/Ambaripreupload.py +++ b/ambari-server/src/main/resources/scripts/Ambaripreupload.py @@ -260,6 +260,8 @@ with Environment() as env: params.HdfsResource(format('{hdfs_path_prefix}/ams/hbase'), owner='ams', type='directory', action=['create_on_execute'], mode=0775) params.HdfsResource(format('{hdfs_path_prefix}/amshbase/staging'), owner='ams', type='directory', action=['create_on_execute'], mode=0711) params.HdfsResource(format('{hdfs_path_prefix}/user/ams/hbase'), owner='ams', type='directory', action=['create_on_execute'], mode=0775) + params.HdfsResource(format('{hdfs_path_prefix}/hdp'), owner='hdfs', type='directory', action=['create_on_execute'], mode=0755) + params.HdfsResource(format('{hdfs_path_prefix}/hdp/spark-events'), owner='spark', group='hadoop', type='directory', action=['create_on_execute'], mode=0777) def putCreatedHdfsResourcesToIgnore(env):
