You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2018/05/07 13:17:32 UTC
[ambari] branch trunk updated: [AMBARI-23777] Change viewfs
mountable file and config type name (dsen) (#1192)
This is an automated email from the ASF dual-hosted git repository.
dsen 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 92649ee [AMBARI-23777] Change viewfs mountable file and config type name (dsen) (#1192)
92649ee is described below
commit 92649ee3783d462e4db714c56cd59d2436dac902
Author: Dmitry Sen <ds...@apache.org>
AuthorDate: Mon May 7 16:17:29 2018 +0300
[AMBARI-23777] Change viewfs mountable file and config type name (dsen) (#1192)
---
.../src/main/resources/stack-hooks/after-INSTALL/scripts/params.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py b/ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py
index e66d6ac..ceec93f 100644
--- a/ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py
+++ b/ambari-server/src/main/resources/stack-hooks/after-INSTALL/scripts/params.py
@@ -104,9 +104,9 @@ if has_namenode or dfs_type == 'HCFS':
mount_table_xml_inclusion_file_full_path = None
mount_table_content = None
- if 'mount-table' in config['configurations']:
- xml_inclusion_file_name = 'mount-table.xml'
- mount_table = config['configurations']['mount-table']
+ if 'viewfs-mount-table' in config['configurations']:
+ xml_inclusion_file_name = 'viewfs-mount-table.xml'
+ mount_table = config['configurations']['viewfs-mount-table']
if 'content' in mount_table and mount_table['content'].strip():
mount_table_xml_inclusion_file_full_path = os.path.join(hadoop_conf_dir, xml_inclusion_file_name)
--
To stop receiving notification emails like this one, please contact
dsen@apache.org.