You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by av...@apache.org on 2018/08/02 18:12:00 UTC

[ambari] branch trunk updated: AMBARI-24398 : HDP 3.0 Hive meta store fails to start on a sysprepped Azure cluster. (#1954)

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

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


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

commit e458b0b3e408608328e42055c33630018cbd265f
Author: avijayanhwx <av...@hortonworks.com>
AuthorDate: Thu Aug 2 11:11:57 2018 -0700

    AMBARI-24398 : HDP 3.0 Hive meta store fails to start on a sysprepped Azure cluster. (#1954)
---
 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)