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

Review request for Ambari, Alejandro Fernandez, bhuvnesh chaudhary, Goutam 
Tadi, Jayush Luniya, Lav Jain, Matt, Sumit Mohanty, and Srimanth Gunturi.


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


Repository: ambari


Description
-------

When HAWQ is in the cluster with YARN HA and Kerberos enabled, the segments are 
down as they cannot connect to YARN RM.

The following updates are required:
1. add hadoop.security.authentication = kerberos in yarn-client.xml

2. add 2 properties to core-site.xml:
<property>
<name>hadoop.proxyuser.postgres.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.postgres.groups</name>
<value>hadoop</value>
</property>

3. on every HAWQ node:
sudo useradd postgres
sudo usermod -a -G hadoop postgres


Diffs
-----

  ambari-server/src/main/resources/common-services/HAWQ/2.0.0/kerberos.json 
da11986 
  
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
 2ec4903 
  
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
 2a671da 
  ambari-server/src/test/python/stacks/2.3/HAWQ/test_hawqmaster.py 5a5ee8d 
  ambari-server/src/test/python/stacks/2.3/HAWQ/test_hawqsegment.py c212b7d 
  ambari-server/src/test/python/stacks/2.3/HAWQ/test_hawqstandby.py 1eb335e 

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


Testing
-------

Tested manually and updates python tests:
----------------------------------------------------------------------
Ran 246 tests in 7.061s
OK
----------------------------------------------------------------------
Total run:923
Total errors:0
Total failures:0


Thanks,

Alexander Denissov

Reply via email to