Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14718

on region server restart ambari is setting /tmp to hbase:hadoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.1
    • None
    • None

    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

      Attachments

        1. AMBARI-14718.patch
          7 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: