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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

Ambari-server upgrade completes with warnings:

    
    
    
    ambari-server upgrade
    Using python  /usr/bin/python2.7
    Upgrading ambari-server
    Updating properties in ambari.properties ...
    WARNING: Can not find ambari.properties.backup file from previous version, 
skipping import of settings
    WARNING: server.jdbc.database_name property isn't set in ambari.properties. 
Setting it to default value - ambari
    Fixing database objects owner
    Looking for available JDKs at /usr/jdk64
    Found: ['/usr/jdk64/jdk1.7.0_67']
    Trying to use JDK /usr/jdk64/jdk1.7.0_67
    Selected JDK /usr/jdk64/jdk1.7.0_67
    Upgrading database schema
    WARNING: Can not determine custom ambari user.
    - If this is a new setup, then run the "ambari-server setup" command to 
create the user
    - If this is an upgrade of an existing setup, run the "ambari-server 
upgrade" command.
    Refer to the Ambari documentation for more information on setup and upgrade.
    Ambari Server 'upgrade' completed successfully.
    

After upgrade ambari-server cannot be started:

    
    
    
    ambari-server start
    Using python  /usr/bin/python2.7
    Starting ambari-server
    ERROR: Exiting with exit code 1.
    REASON: Unable to detect a system user for Ambari Server.
    - If this is a new setup, then run the "ambari-server setup" command to 
create the user
    - If this is an upgrade of an existing setup, run the "ambari-server 
upgrade" command.
    Refer to the Ambari documentation for more information on setup and upgrade.


Diffs
-----

  ambari-server/src/main/package/deb/control/preinst 142bcf7 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to