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 2014/08/19 11:36:48 UTC

Review Request 24843: Usability: Incorrect Postgres dependency causing issues

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
exit code 1. Reason: Unable to start PostgreSQL server. Exiting

This is an old problem from 2013:  
<http://hortonworks.com/community/forums/topic/possible-postgres-version-
causing-ambari-server-setup-problems/>  
<http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
fails/>

We really need to fix this. I did what Phillip did in the first link above and
just installed an old postgres and it worked. Also, see the second link and
search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
“/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
dynamically determine that?


Diffs
-----

  ambari-server/src/main/python/ambari-server.py ffb25bb 
  ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
  ambari-server/src/test/python/TestAmbariServer.py ea3e72b 
  ambari-server/src/test/python/TestOSCheck.py de4b1e6 
  ambari-server/src/test/python/TestUtils.py a24b790 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24843/#review51102
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Авг. 20, 2014, 1 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24843/
> -----------------------------------------------------------
> 
> (Updated Авг. 20, 2014, 1 п.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-6909
>     https://issues.apache.org/jira/browse/AMBARI-6909
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
> exit code 1. Reason: Unable to start PostgreSQL server. Exiting
> 
> This is an old problem from 2013:  
> <http://hortonworks.com/community/forums/topic/possible-postgres-version-
> causing-ambari-server-setup-problems/>  
> <http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
> fails/>
> 
> We really need to fix this. I did what Phillip did in the first link above and
> just installed an old postgres and it worked. Also, see the second link and
> search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
> “/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
> dynamically determine that?
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari-server.py 079b29f 
>   ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
>   ambari-server/src/test/python/TestAmbariServer.py b76e2bd 
>   ambari-server/src/test/python/TestOSCheck.py de4b1e6 
>   ambari-server/src/test/python/TestUtils.py a24b790 
> 
> Diff: https://reviews.apache.org/r/24843/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24843/#review51174
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Авг. 21, 2014, 1:43 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24843/
> -----------------------------------------------------------
> 
> (Updated Авг. 21, 2014, 1:43 п.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-6909
>     https://issues.apache.org/jira/browse/AMBARI-6909
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
> exit code 1. Reason: Unable to start PostgreSQL server. Exiting
> 
> This is an old problem from 2013:  
> <http://hortonworks.com/community/forums/topic/possible-postgres-version-
> causing-ambari-server-setup-problems/>  
> <http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
> fails/>
> 
> We really need to fix this. I did what Phillip did in the first link above and
> just installed an old postgres and it worked. Also, see the second link and
> search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
> “/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
> dynamically determine that?
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari-server.py bb9870b 
>   ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
>   ambari-server/src/test/python/TestAmbariServer.py 46078ac 
>   ambari-server/src/test/python/TestOSCheck.py de4b1e6 
>   ambari-server/src/test/python/TestUtils.py a24b790 
> 
> Diff: https://reviews.apache.org/r/24843/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24843/
-----------------------------------------------------------

(Updated Aug. 21, 2014, 1:43 p.m.)


Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
exit code 1. Reason: Unable to start PostgreSQL server. Exiting

This is an old problem from 2013:  
<http://hortonworks.com/community/forums/topic/possible-postgres-version-
causing-ambari-server-setup-problems/>  
<http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
fails/>

We really need to fix this. I did what Phillip did in the first link above and
just installed an old postgres and it worked. Also, see the second link and
search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
“/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
dynamically determine that?


Diffs (updated)
-----

  ambari-server/src/main/python/ambari-server.py bb9870b 
  ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
  ambari-server/src/test/python/TestAmbariServer.py 46078ac 
  ambari-server/src/test/python/TestOSCheck.py de4b1e6 
  ambari-server/src/test/python/TestUtils.py a24b790 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24843/
-----------------------------------------------------------

(Updated Aug. 20, 2014, 1 p.m.)


Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------

Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
exit code 1. Reason: Unable to start PostgreSQL server. Exiting

This is an old problem from 2013:  
<http://hortonworks.com/community/forums/topic/possible-postgres-version-
causing-ambari-server-setup-problems/>  
<http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
fails/>

We really need to fix this. I did what Phillip did in the first link above and
just installed an old postgres and it worked. Also, see the second link and
search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
“/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
dynamically determine that?


Diffs (updated)
-----

  ambari-server/src/main/python/ambari-server.py 079b29f 
  ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
  ambari-server/src/test/python/TestAmbariServer.py b76e2bd 
  ambari-server/src/test/python/TestOSCheck.py de4b1e6 
  ambari-server/src/test/python/TestUtils.py a24b790 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Andrew Onischuk <ao...@hortonworks.com>.

> On Aug. 19, 2014, 1:25 p.m., Dmytro Sen wrote:
> > Ship It!

thanks, for review have to reupload patch, with some changes soon.


- Andrew


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


On Aug. 19, 2014, 9:36 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24843/
> -----------------------------------------------------------
> 
> (Updated Aug. 19, 2014, 9:36 a.m.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-6909
>     https://issues.apache.org/jira/browse/AMBARI-6909
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
> exit code 1. Reason: Unable to start PostgreSQL server. Exiting
> 
> This is an old problem from 2013:  
> <http://hortonworks.com/community/forums/topic/possible-postgres-version-
> causing-ambari-server-setup-problems/>  
> <http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
> fails/>
> 
> We really need to fix this. I did what Phillip did in the first link above and
> just installed an old postgres and it worked. Also, see the second link and
> search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
> “/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
> dynamically determine that?
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari-server.py ffb25bb 
>   ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
>   ambari-server/src/test/python/TestAmbariServer.py ea3e72b 
>   ambari-server/src/test/python/TestOSCheck.py de4b1e6 
>   ambari-server/src/test/python/TestUtils.py a24b790 
> 
> Diff: https://reviews.apache.org/r/24843/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 24843: Usability: Incorrect Postgres dependency causing issues

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24843/#review50968
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Авг. 19, 2014, 9:36 д.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24843/
> -----------------------------------------------------------
> 
> (Updated Авг. 19, 2014, 9:36 д.п.)
> 
> 
> Review request for Ambari and Dmytro Sen.
> 
> 
> Bugs: AMBARI-6909
>     https://issues.apache.org/jira/browse/AMBARI-6909
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Using EC2's centos6 image, Ambari fails to start with a: ERROR: Exiting with
> exit code 1. Reason: Unable to start PostgreSQL server. Exiting
> 
> This is an old problem from 2013:  
> <http://hortonworks.com/community/forums/topic/possible-postgres-version-
> causing-ambari-server-setup-problems/>  
> <http://hortonworks.com/community/forums/topic/ambari-fails-postgressql-
> fails/>
> 
> We really need to fix this. I did what Phillip did in the first link above and
> just installed an old postgres and it worked. Also, see the second link and
> search for "Maxim Mikheev". We are still hardcoding PG_HBA_DIR =
> “/var/lib/pgsql/data/” in our script. That seems dangerous, is there a way to
> dynamically determine that?
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari-server.py ffb25bb 
>   ambari-server/src/main/python/ambari_server/utils.py db9fcb7 
>   ambari-server/src/test/python/TestAmbariServer.py ea3e72b 
>   ambari-server/src/test/python/TestOSCheck.py de4b1e6 
>   ambari-server/src/test/python/TestUtils.py a24b790 
> 
> Diff: https://reviews.apache.org/r/24843/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>