You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/09/09 18:56:25 UTC

Review Request 25477: upgrading a cluster to ambari-1.7.0 should create cluster-env file

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25477/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-7222
    https://issues.apache.org/jira/browse/AMBARI-7222


Repository: ambari


Description
-------

Upgarding to ambari-1.7.0 should create cluster-env type configuration for a
cluster and migrate following properties present in global type configuration
to cluster-env type

    
    
    
    <configuration>
        <property>
            <name>security_enabled</name>
            <value>false</value>
            <description>Hadoop Security</description>
        </property>
        <property>
            <name>kerberos_domain</name>
            <value>EXAMPLE.COM</value>
            <description>Kerberos realm.</description>
        </property>
        <property>
            <name>ignore_groupsusers_create</name>
            <value>false</value>
            <description>Whether to ignores failures on users and group creation</description>
        </property>
        <property>
            <name>smokeuser</name>
            <value>ambari-qa</value>
            <description>User executing service checks</description>
        </property>
        <property>
            <name>user_group</name>
            <value>hadoop</value>
            <description>Proxy user group.</description>
        </property>
     <property>
            <name>kinit_path_local</name>
            <value>/usr/bin</value>
            <description>Kerberos tool path.</description>
        </property>
      <property>
            <name>smokeuser_keytab</name>
            <value>/etc/security/keytabs/smokeuser.headless.keytab</value>
            <description>Path to keytab file for smoke test user</description>
      </property>
    </configuration>
    


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java 6d70695 

Diff: https://reviews.apache.org/r/25477/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 25477: upgrading a cluster to ambari-1.7.0 should create cluster-env file

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25477/#review52743
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Вер. 9, 2014, 4:56 після полудня, Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25477/
> -----------------------------------------------------------
> 
> (Updated Вер. 9, 2014, 4:56 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7222
>     https://issues.apache.org/jira/browse/AMBARI-7222
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Upgarding to ambari-1.7.0 should create cluster-env type configuration for a
> cluster and migrate following properties present in global type configuration
> to cluster-env type
> 
>     
>     
>     
>     <configuration>
>         <property>
>             <name>security_enabled</name>
>             <value>false</value>
>             <description>Hadoop Security</description>
>         </property>
>         <property>
>             <name>kerberos_domain</name>
>             <value>EXAMPLE.COM</value>
>             <description>Kerberos realm.</description>
>         </property>
>         <property>
>             <name>ignore_groupsusers_create</name>
>             <value>false</value>
>             <description>Whether to ignores failures on users and group creation</description>
>         </property>
>         <property>
>             <name>smokeuser</name>
>             <value>ambari-qa</value>
>             <description>User executing service checks</description>
>         </property>
>         <property>
>             <name>user_group</name>
>             <value>hadoop</value>
>             <description>Proxy user group.</description>
>         </property>
>      <property>
>             <name>kinit_path_local</name>
>             <value>/usr/bin</value>
>             <description>Kerberos tool path.</description>
>         </property>
>       <property>
>             <name>smokeuser_keytab</name>
>             <value>/etc/security/keytabs/smokeuser.headless.keytab</value>
>             <description>Path to keytab file for smoke test user</description>
>       </property>
>     </configuration>
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java 6d70695 
> 
> Diff: https://reviews.apache.org/r/25477/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>