You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2016/12/02 09:26:53 UTC
Review Request 54303: Ambari-server restart command not working. if
any parameters are changed and reset to default.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54303/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-19061
https://issues.apache.org/jira/browse/AMBARI-19061
Repository: ambari
Description
-------
**Steps to reproduce:**
1\. Change any of the parameters that hamper the ambari-server to restart
successfully.(password.dat file)
2\. Restart ambari-server, ambari-server restart will fail saying (This is
expected as we have changed the parameter.)
Unable to determine server PID. Retrying...
DB configs consistency check: no errors and warnings were found.
ERROR: Exiting with exit code -1.
3\. Now set the Parameter to its actual value.
4.Restart ambari-server, ambari-server restart will fail saying
Using python /usr/bin/python
Restarting ambari-server
WARNING: '' is incorrect PID value. /var/run/ambari-server/ambari-server.pid is corrupt. Removing
Ambari Server 'restart' completed with warnings.
5.If you Restart the Ambari server again. It gets restarted successfully.
Diffs
-----
ambari-server/src/main/python/ambari_server/utils.py 62c93ae
Diff: https://reviews.apache.org/r/54303/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk
Re: Review Request 54303: Ambari-server restart command not working.
if any parameters are changed and reset to default.
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/54303/#review157718
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Dec. 2, 2016, 11:26 a.m., Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/54303/
> -----------------------------------------------------------
>
> (Updated Dec. 2, 2016, 11:26 a.m.)
>
>
> Review request for Ambari and Dmitro Lisnichenko.
>
>
> Bugs: AMBARI-19061
> https://issues.apache.org/jira/browse/AMBARI-19061
>
>
> Repository: ambari
>
>
> Description
> -------
>
> **Steps to reproduce:**
> 1\. Change any of the parameters that hamper the ambari-server to restart
> successfully.(password.dat file)
> 2\. Restart ambari-server, ambari-server restart will fail saying (This is
> expected as we have changed the parameter.)
>
>
>
>
> Unable to determine server PID. Retrying...
> DB configs consistency check: no errors and warnings were found.
> ERROR: Exiting with exit code -1.
>
>
> 3\. Now set the Parameter to its actual value.
> 4.Restart ambari-server, ambari-server restart will fail saying
>
>
>
>
> Using python /usr/bin/python
> Restarting ambari-server
> WARNING: '' is incorrect PID value. /var/run/ambari-server/ambari-server.pid is corrupt. Removing
> Ambari Server 'restart' completed with warnings.
>
>
> 5.If you Restart the Ambari server again. It gets restarted successfully.
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari_server/utils.py 62c93ae
>
> Diff: https://reviews.apache.org/r/54303/diff/
>
>
> Testing
> -------
>
> mvn clean test
>
>
> Thanks,
>
> Andrew Onischuk
>
>