This is an automated email from the ASF dual-hosted git repository.

avijayan pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 4fe520c  AMBARI-24398 : HDP 3.0 Hive meta store fails to start on a 
sysprepped Azure cluster. (#1953)
4fe520c is described below

commit 4fe520ce0d90ee61ca263b3851cd67c8057959b6
Author: avijayanhwx <[email protected]>
AuthorDate: Thu Aug 2 10:49:46 2018 -0700

    AMBARI-24398 : HDP 3.0 Hive meta store fails to start on a sysprepped Azure 
cluster. (#1953)
---
 ambari-server/src/main/resources/scripts/Ambaripreupload.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ambari-server/src/main/resources/scripts/Ambaripreupload.py 
b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
index 1ee3c1c..b5ab101 100644
--- a/ambari-server/src/main/resources/scripts/Ambaripreupload.py
+++ b/ambari-server/src/main/resources/scripts/Ambaripreupload.py
@@ -252,6 +252,7 @@ with Environment() as env:
     params.HdfsResource(format('{hdfs_path_prefix}/atshistory'), user='hdfs', 
change_permissions_for_parents=True, owner='yarn', group='hadoop', 
type='directory', action= ['create_on_execute'], mode=0755)
     params.HdfsResource(format('{hdfs_path_prefix}/user/hcat'), owner='hcat', 
type='directory', action=['create_on_execute'], mode=0755)
     params.HdfsResource(format('{hdfs_path_prefix}/hive/warehouse'), 
owner='hive', type='directory', action=['create_on_execute'], mode=0777)
+    
params.HdfsResource(format('{hdfs_path_prefix}/warehouse/tablespace/external/hive'),
 owner='hive', type='directory', action=['create_on_execute'], mode=01777)
     params.HdfsResource(format('{hdfs_path_prefix}/user/hive'), owner='hive', 
type='directory', action=['create_on_execute'], mode=0755)
     params.HdfsResource(format('{hdfs_path_prefix}/tmp'), mode=0777, 
action=['create_on_execute'], type='directory', owner='hdfs')
     params.HdfsResource(format('{hdfs_path_prefix}/user/ambari-qa'), 
type='directory', action=['create_on_execute'], mode=0770)

Reply via email to