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

Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

On my hcube cluster what i am seeing is /tmp gets owned by hbase:hadoop. This
is causing services like sssd to fail as /tmp is not owned by root. sssd is a
service that we recommend users setup if they want to sync up with AD. With
this service failing users are unable to login using AD credentials.

Here is the corresponding log

    
    
          owner = params.hbase_user,
          group = params.user_group,
    04:33:56,101 - Directory['/tmp'] {'owner': 'hbase', 'group': 'hadoop', 
'mode': 0777, 'recursive': True}
    2016-01-19 04:33:56,101 - Changing owner for /tmp from 0 to hbase
    2016-01-19 04:33:56,101 - Changing group for /tmp from 0 to hadoop
    2016-01-19 04:33:56,102 - Changing permission for /tmp from 1777 to 777
    2016-01-19 04:33:56,102 - Directory['/tmp'] {'recursive': True, 
'cd_access': 'a'}
    2016-01-19 04:33:56,102 - Execute[('chmod', '1777', u'/tmp')] {'sudo': True}
    2016-01-19 04:33:56,110 - XmlConfig['hbase-site.xml'] {'owner': 'hbase', 
'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hbase-regionserver/conf', 
'configuration_attributes': {}, 'configurations': ...}
    2016-01-19 04:33:56,126 - Generating config: 
/usr/hdp/current/hbase-regionserver/conf/hbase-site.xml
    2016-01-19 04:33:56,127 - 
File['/usr/hdp/current/hbase-regionserver/conf/hbase-site.xml'] {'owner': 
'hbase', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 
'encoding': 'UTF-8'}
    2016-01-19 04:33:56,174 - XmlConfig['core-site.xml'] {'owner': 'hbase', 
'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hbase-regionserver/conf', 
'configuration_attributes': {}, 'configurations': ...}
    2016-01-19 04:33:56,185 - Generating config: 
/usr/hdp/current/hbase-regionserver/conf/core-site.xml
    2016-01-19 04:33:56,185 - 
File['/usr/hdp/current/hbase-regionserver/conf/core-site.xml'] {'owner': 
'hbase', 'content': InlineTemplate(...), 'group': 'hadoop', 'mode': None, 
'encoding': 'UTF-8'}
    2016-01-19 04:33:56,210 - XmlConfig['hdfs-site.xml'] {'owner': 'hbase', 
'group': 'hadoop', 'conf_dir': '/usr/hdp/current/hbase-regionserver/conf', 
'configuration_attributes': {}, 'configurations': ...}
    2016-01-19 04:33:56,221 - Generating config: 
/usr/hdp/current/hbase-regionserver/conf/hdfs-site.xml
    2016-01-19 04:33:56,222 - 
File['/usr/hdp/current/hbase-regionserver/conf/hdfs-site.xml'] {'owner': 'hb
    

This is the cluster this happened on
<https://hcube2-1n01.eng.hortonworks.com:8443> and ssh key for user root is
attached


Diffs
-----

  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/configuration/hbase-env.xml
 47a753a 
  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
 2b2cf1e 
  
ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
 7deef41 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_client.py 9c6e96a 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py 0f1d810 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py 
d105c18 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py 
bd1313b 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to