You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2016/04/23 21:46:36 UTC

ambari git commit: AMBARI-16077. Ambari sys prep script should create Spark events directory (smohanty)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 24188d3a0 -> 45abb3dd3


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/45abb3dd
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/45abb3dd
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/45abb3dd

Branch: refs/heads/branch-2.2
Commit: 45abb3dd361bcc8bbf8e68515344fc28162a86ad
Parents: 24188d3
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Sat Apr 23 12:46:06 2016 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Sat Apr 23 12:46:06 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/45abb3dd/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 5ce75dd..e54c695 100644
--- a/ambari-server/src/main/resources/scripts/Ambaripreupload.py
+++ b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
@@ -254,6 +254,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):