You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Lav Jain <lj...@pivotal.io> on 2016/01/21 03:27:50 UTC

Review Request 42581: hawq_profile script conflicts with HAWQ segment init

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

Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary, jun aoki, Jayush Luniya, Matt, Newton Alex, and Oleksandr Diachenko.


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


Repository: ambari


Description
-------

The problem seems to manifest when hawq_master and hawq_segment are deployed on the same host machine. Because of the PGPORT and PGHOST entries in .hawk-profile.sh, there seems to be some conflict during HAWQSEGMENT init phase.
Similarily, bashrc script is unnecessary for HAWQ as it explicits sources greenplum.sh for all hawq commands.


Diffs
-----

  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py daab7eb 
  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py fe3743b 
  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqsegment.py 37a118c 
  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/master_helper.py a685db4 
  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/templates/hawq-profile.sh.j2 625a9f5 

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


Testing
-------

Manually tested.


Thanks,

Lav Jain


Re: Review Request 42581: hawq_profile script conflicts with HAWQ segment init

Posted by Alexander Denissov <ad...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42581/#review115568
-----------------------------------------------------------

Ship it!


Ship It!

- Alexander Denissov


On Jan. 21, 2016, 2:27 a.m., Lav Jain wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42581/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2016, 2:27 a.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary, jun aoki, Jayush Luniya, Matt, Newton Alex, and Oleksandr Diachenko.
> 
> 
> Bugs: AMBARI-14752
>     https://issues.apache.org/jira/browse/AMBARI-14752
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The problem seems to manifest when hawq_master and hawq_segment are deployed on the same host machine. Because of the PGPORT and PGHOST entries in .hawk-profile.sh, there seems to be some conflict during HAWQSEGMENT init phase.
> Similarily, bashrc script is unnecessary for HAWQ as it explicits sources greenplum.sh for all hawq commands.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py daab7eb 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py fe3743b 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqsegment.py 37a118c 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/master_helper.py a685db4 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/templates/hawq-profile.sh.j2 625a9f5 
> 
> Diff: https://reviews.apache.org/r/42581/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> 
> Thanks,
> 
> Lav Jain
> 
>


Re: Review Request 42581: hawq_profile script conflicts with HAWQ segment init

Posted by Matt <mi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42581/#review115559
-----------------------------------------------------------

Ship it!


Ship It!

- Matt


On Jan. 20, 2016, 6:27 p.m., Lav Jain wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42581/
> -----------------------------------------------------------
> 
> (Updated Jan. 20, 2016, 6:27 p.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary, jun aoki, Jayush Luniya, Matt, Newton Alex, and Oleksandr Diachenko.
> 
> 
> Bugs: AMBARI-14752
>     https://issues.apache.org/jira/browse/AMBARI-14752
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The problem seems to manifest when hawq_master and hawq_segment are deployed on the same host machine. Because of the PGPORT and PGHOST entries in .hawk-profile.sh, there seems to be some conflict during HAWQSEGMENT init phase.
> Similarily, bashrc script is unnecessary for HAWQ as it explicits sources greenplum.sh for all hawq commands.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py daab7eb 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py fe3743b 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqsegment.py 37a118c 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/master_helper.py a685db4 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/templates/hawq-profile.sh.j2 625a9f5 
> 
> Diff: https://reviews.apache.org/r/42581/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> 
> Thanks,
> 
> Lav Jain
> 
>


Re: Review Request 42581: hawq_profile script conflicts with HAWQ segment init

Posted by bhuvnesh chaudhary <bc...@pivotal.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42581/#review115553
-----------------------------------------------------------

Ship it!


Ship It!

- bhuvnesh chaudhary


On Jan. 21, 2016, 2:27 a.m., Lav Jain wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42581/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2016, 2:27 a.m.)
> 
> 
> Review request for Ambari, Alexander Denissov, Alejandro Fernandez, bhuvnesh chaudhary, jun aoki, Jayush Luniya, Matt, Newton Alex, and Oleksandr Diachenko.
> 
> 
> Bugs: AMBARI-14752
>     https://issues.apache.org/jira/browse/AMBARI-14752
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The problem seems to manifest when hawq_master and hawq_segment are deployed on the same host machine. Because of the PGPORT and PGHOST entries in .hawk-profile.sh, there seems to be some conflict during HAWQSEGMENT init phase.
> Similarily, bashrc script is unnecessary for HAWQ as it explicits sources greenplum.sh for all hawq commands.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py daab7eb 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py fe3743b 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqsegment.py 37a118c 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/master_helper.py a685db4 
>   ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/templates/hawq-profile.sh.j2 625a9f5 
> 
> Diff: https://reviews.apache.org/r/42581/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> 
> Thanks,
> 
> Lav Jain
> 
>