You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/09/18 18:54:50 UTC
Review Request 38498: Ambari DB schema upgrade command hung on
console even though schema upgrade is success
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38498/
-----------------------------------------------------------
Review request for Ambari, Myroslav Papirkovskyy and Nate Cole.
Bugs: AMBARI-13148
https://issues.apache.org/jira/browse/AMBARI-13148
Repository: ambari
Description
-------
Observed this issue on two configs
Config #1 – Ambari server upgrade from 1.6.1 to 2.1.2-262 on Suse 11 SP3
Config #2 – Ambari server upgrade from 2.0.2 to 2.1.2-262 on Ubuntu 12
Ambari DB: Embedded Postgres
The upgrade command was hung and did not come out of the console:
vsharma-u21todalm10-re-5:~ # ambari-server upgrade
Using python /usr/bin/python2.6
Upgrading ambari-server
Updating properties in ambari.properties ...
WARNING: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings
Fixing database objects owner
Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] ? y
Upgrading database schema
When looking at ambari-server.log - the upgrade is a success
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java 3766cbb
Diff: https://reviews.apache.org/r/38498/diff/
Testing
-------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.875s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.567s]
[INFO] Ambari Server ..................................... SUCCESS [58:34.310s]
[INFO] Ambari Agent ...................................... SUCCESS [9.621s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:49.021s
[INFO] Finished at: Fri Sep 18 16:40:43 EEST 2015
[INFO] Final Memory: 61M/558M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko
Re: Review Request 38498: Ambari DB schema upgrade command hung on
console even though schema upgrade is success
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38498/
-----------------------------------------------------------
(Updated Sept. 18, 2015, 4:57 p.m.)
Review request for Ambari, Myroslav Papirkovskyy and Nate Cole.
Bugs: AMBARI-13148
https://issues.apache.org/jira/browse/AMBARI-13148
Repository: ambari
Description
-------
Observed this issue on two configs
Config #1 – Ambari server upgrade from 1.6.1 to 2.1.2-262 on Suse 11 SP3
Config #2 – Ambari server upgrade from 2.0.2 to 2.1.2-262 on Ubuntu 12
Ambari DB: Embedded Postgres
The upgrade command was hung and did not come out of the console:
vsharma-u21todalm10-re-5:~ # ambari-server upgrade
Using python /usr/bin/python2.6
Upgrading ambari-server
Updating properties in ambari.properties ...
WARNING: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings
Fixing database objects owner
Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] ? y
Upgrading database schema
When looking at ambari-server.log - the upgrade is a success
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java 3766cbb
Diff: https://reviews.apache.org/r/38498/diff/
Testing (updated)
-------
Ran many iterations in a loop with and without patch, hanged without patch soon
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.875s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.567s]
[INFO] Ambari Server ..................................... SUCCESS [58:34.310s]
[INFO] Ambari Agent ...................................... SUCCESS [9.621s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:49.021s
[INFO] Finished at: Fri Sep 18 16:40:43 EEST 2015
[INFO] Final Memory: 61M/558M
[INFO] ------------------------------------------------------------------------
Thanks,
Dmitro Lisnichenko
Re: Review Request 38498: Ambari DB schema upgrade command hung on
console even though schema upgrade is success
Posted by Myroslav Papirkovskyy <mp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38498/#review99553
-----------------------------------------------------------
Ship it!
Ship It!
- Myroslav Papirkovskyy
On Вер. 18, 2015, 7:54 після полудня, Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38498/
> -----------------------------------------------------------
>
> (Updated Вер. 18, 2015, 7:54 після полудня)
>
>
> Review request for Ambari, Myroslav Papirkovskyy and Nate Cole.
>
>
> Bugs: AMBARI-13148
> https://issues.apache.org/jira/browse/AMBARI-13148
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Observed this issue on two configs
> Config #1 – Ambari server upgrade from 1.6.1 to 2.1.2-262 on Suse 11 SP3
> Config #2 – Ambari server upgrade from 2.0.2 to 2.1.2-262 on Ubuntu 12
> Ambari DB: Embedded Postgres
> The upgrade command was hung and did not come out of the console:
> vsharma-u21todalm10-re-5:~ # ambari-server upgrade
> Using python /usr/bin/python2.6
> Upgrading ambari-server
> Updating properties in ambari.properties ...
> WARNING: Can not find ambari-env.sh.rpmsave file from previous version, skipping restore of environment settings
> Fixing database objects owner
> Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] ? y
> Upgrading database schema
> When looking at ambari-server.log - the upgrade is a success
>
>
> Diffs
> -----
>
> ambari-server/src/main/java/org/apache/ambari/server/security/encryption/InMemoryCredentialStoreService.java 3766cbb
>
> Diff: https://reviews.apache.org/r/38498/diff/
>
>
> Testing
> -------
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Ambari Views ...................................... SUCCESS [2.875s]
> [INFO] Ambari Metrics Common ............................. SUCCESS [1.567s]
> [INFO] Ambari Server ..................................... SUCCESS [58:34.310s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.621s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 58:49.021s
> [INFO] Finished at: Fri Sep 18 16:40:43 EEST 2015
> [INFO] Final Memory: 61M/558M
> [INFO] ------------------------------------------------------------------------
>
>
> Thanks,
>
> Dmitro Lisnichenko
>
>