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

Review request for Ambari, Robert Levas and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

Whenever user adds service to Ambari, the value "hadoop.proxyuser.hcat.hosts" 
got changed. We should either prompt user if he is comfortable with the 
changes, or let it alone. In customer environment, this values got changed to 
something different when he adds Accumulo, Kafka and Knox.

After the initial install, the property hadoop.proxyuser.hcat.hosts = '*'
Then, Accumulo was installed using the Ambari Add Service Wizard. After 
Accumulo was installed, the value of hadoop.proxyuser.hcat.hosts was 
'baron2.example.org' (FQDN of second master node)
Then, Kafka was added using the Ambari Add Service Wizard. After Kafka was 
installed, the value of hadoop.proxyuser.hcat.hosts was 
"baron1.example.org,baron2.example.org".
Then Knox was added using the Ambari Add Service Wizard. After Knox was 
installed, the value of hadoop.proxyuser.hcat.hosts was 'baron1.example.org'. 
At this point the Hive Service Check failed with an "Unauthorized connection 
for super-user: hcat" error. "

In the support lab, value was set to hcat host after cluster installation. I 
changed it to * to match customer environments, and every time I add services 
it changed it back to hcat host

BUSINESS IMPACT: If customer is using Ambari view or Hue, changing this 
configuration will break them


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 
ee63f1e 
  ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py 
125c9ca 

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


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko

Reply via email to