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 2015/02/10 15:21:12 UTC
Review Request 30828: Ambari upgrade 1.7.0 -> 2.0.0 on Ubuntu fails
-----------------------------------------------------------
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
Re: Review Request 30828: Ambari upgrade 1.7.0 -> 2.0.0 on Ubuntu
fails
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30828/#review71787
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Feb. 10, 2015, 2:21 p.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/30828/
> -----------------------------------------------------------
>
> (Updated Feb. 10, 2015, 2:21 p.m.)
>
>
> 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
>
>