Skip to content

Commit

Permalink
[AMBARI-23777] Change viewfs mountable file and config type name (dse…
Browse files Browse the repository at this point in the history
…n) (#1192)
  • Loading branch information
d0zen1 committed May 7, 2018
1 parent b5659b4 commit 92649ee
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@

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)
Expand Down

0 comments on commit 92649ee

Please sign in to comment.