You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "amarnath reddy pappu (JIRA)" <ji...@apache.org> on 2018/07/10 21:38:00 UTC
[jira] [Created] (AMBARI-24277) Unable to use password type custom
field to replace the value
amarnath reddy pappu created AMBARI-24277:
---------------------------------------------
Summary: Unable to use password type custom field to replace the value
Key: AMBARI-24277
URL: https://issues.apache.org/jira/browse/AMBARI-24277
Project: Ambari
Issue Type: Bug
Reporter: amarnath reddy pappu
For Arcadia (any other service) added into Ambari and has the following requirement.
There is some text area under "arcadia-visualization-server" configs and password is hard coded in that. Since everyone can view the password they would like to use custom properties with the type of "password" and then that as a variable in text area. this is not working.
I try similar behavior with HDFS service ..
1. Add a custom config -
hadoop_security_log_number_of_backup_files2 under "hdfs-log4j" with type as password.
2. Now under "Advanced hdfs-log4j" have modified the content to use above created variable.
hadoop.security.logger=INFO,console
hadoop.security.log.maxfilesize={{hadoop_security_log_max_backup_size}}MB
hadoop.security.log.maxbackupindex=hadoop_security_log_number_of_backup_files2
3. Save and restart is not actually replacing the value with read value - instead it goes as empty.
4. Same behavior works fine with that variable is present in default config and type is text.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)