[ https://issues.apache.org/jira/browse/AMBARI-14718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15109078#comment-15109078 ]
Mahadev konar commented on AMBARI-14718: ---------------------------------------- Reopening since the patch is reverted - looks like this is causing HBase issues. > on region server restart ambari is setting /tmp to hbase:hadoop > --------------------------------------------------------------- > > Key: AMBARI-14718 > URL: https://issues.apache.org/jira/browse/AMBARI-14718 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.2.1 > > Attachments: AMBARI-14718.patch > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)