ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-6090) 'ambari-server upgrade' command fails.
Date Wed, 11 Jun 2014 21:25:03 GMT
Jonathan Hurley created AMBARI-6090:
---------------------------------------

             Summary: 'ambari-server upgrade' command fails.
                 Key: AMBARI-6090
                 URL: https://issues.apache.org/jira/browse/AMBARI-6090
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 1.6.1
         Environment: NANO. Upgrade from BWGA (stack 2.0.6), DB - Postgres, Upgrade Ambari
to hash: f033a869fa39f1ca701fbda9b3776ed10966adb5
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Blocker
             Fix For: 1.6.1


{noformat}
*************** EXTERNAL HOSTNAMES ****************
172.18.146.90
172.18.146.76
172.18.146.65
172.18.146.59
***************** INTERNAL HOSTNAMES *******************
amb-upg6-4postgres1402479570-9.cs1cloud.internal
amb-upg6-4postgres1402479570-4.cs1cloud.internal
amb-upg6-4postgres1402479570-2.cs1cloud.internal
amb-upg6-4postgres1402479570-1.cs1cloud.internal
{noformat}

Output:
{code}
199389 INFO  util.cluster_managers.ClusterManager  - Sending command [ambari-server upgrade
--verbose] to host [172.18.146.90]
Using python  /usr/bin/python2.6
Upgrading ambari-server
Pseudo-terminal will not be allocated because stdin is not a terminal.
std:Updating properties in ambari.properties ...
std:INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
std:INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
std:Fixing database objects owner
std:INFO: about to run command: ['su', '-', 'postgres', '--command=/var/lib/ambari-server/resources/scripts/change_owner.sh
-d ambari -s ambari -o \'"ambari"\'']
std:INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
std:INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
std:INFO: about to run command: /usr/jdk64/jdk1.6.0_31/bin/java -cp /etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/ambari-server/*:/usr/share/java/mysql-connector-java.jar:/usr/share/java/mysql-connector-java-5.1.17.jar
org.apache.ambari.server.upgrade.SchemaUpgradeHelper > /var/log/ambari-server/ambari-server.out
2>&1
std:INFO: Return code from schema upgrade command, retcode = 1
std:ERROR: Error executing schema upgrade, please check the server logs.
std:ERROR: Ambari server upgrade failed. Please look at /var/log/ambari-server/ambari-server.log,
for more details.
std:ERROR: Exiting with exit code 11. 
std:REASON: Schema upgrade failed.
209395 INFO  util.cluster_managers.UpgradeClusterManager  - [OUTPUT STREAM]
Using python  /usr/bin/python2.6
Upgrading ambari-server
Updating properties in ambari.properties ...
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
Fixing database objects owner
INFO: about to run command: ['su', '-', 'postgres', '--command=/var/lib/ambari-server/resources/scripts/change_owner.sh
-d ambari -s ambari -o \'"ambari"\'']
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: AMBARI_SERVER_LIB is not set, using default /usr/lib/ambari-server
INFO: about to run command: /usr/jdk64/jdk1.6.0_31/bin/java -cp /etc/ambari-server/conf:/usr/lib/ambari-server/*:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/lib/ambari-server/*:/usr/share/java/mysql-connector-java.jar:/usr/share/java/mysql-connector-java-5.1.17.jar
org.apache.ambari.server.upgrade.SchemaUpgradeHelper > /var/log/ambari-server/ambari-server.out
2>&1
INFO: Return code from schema upgrade command, retcode = 1
ERROR: Error executing schema upgrade, please check the server logs.
ERROR: Ambari server upgrade failed. Please look at /var/log/ambari-server/ambari-server.log,
for more details.
ERROR: Exiting with exit code 11. 
REASON: Schema upgrade failed.

[ERROR STREAM]
Pseudo-terminal will not be allocated because stdin is not a terminal.

[EXIT CODE]
0
{code}

Server logs attached. Nano machines lifetime updated to 48 hrs. 




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message