Nahappan Somasundaram created AMBARI-19471:
----------------------------------------------

             Summary: Ambari-server: In HIVE and OOZIE configurations, annotate 
PASSWORD properties that need to be stored in a JCEKS provider
                 Key: AMBARI-19471
                 URL: https://issues.apache.org/jira/browse/AMBARI-19471
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.5.0
            Reporter: Nahappan Somasundaram
            Assignee: Nahappan Somasundaram
             Fix For: 2.5.0


In OOZIE and HIVE configs, annotate PASSWORD properties with *keystore* 
attribute to indicate that the value of the property has to be stored in a 
JCEKS file when credential store is enabled.

{quote}<property require-input="true">
    <name>oozie.service.JPAService.jdbc.password</name>
    <value/>
    <display-name>Database Password</display-name>
    <property-type>PASSWORD</property-type>
    <description>
      DB user password.

      IMPORTANT: if password is emtpy leave a 1 space string, the service trims 
the value,
      if empty Configuration assumes it is NULL.
    </description>
    <value-attributes>
      <type>password</type>
      <overridable>false</overridable>
       *<keystore>true</keystore>*
    </value-attributes>
    <on-ambari-upgrade add="true"/>
  </property>{quote}

{quote}  <property require-input="true">
    <name>javax.jdo.option.ConnectionPassword</name>
    <value/>
    <property-type>PASSWORD</property-type>
    <display-name>Database Password</display-name>
    <description>password to use against metastore database</description>
    <value-attributes>
      <type>password</type>
      <overridable>false</overridable>
      <hidden>HIVE_CLIENT,WEBHCAT_SERVER,HCAT,CONFIG_DOWNLOAD</hidden>
     *<keystore>true</keystore>*
    </value-attributes>
    <on-ambari-upgrade add="true"/>
  </property>{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to