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

HostCleanup should also clean /tmp/hadoop-*

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.2
    • 1.5.1
    • ambari-agent
    • None

    Description

      HostCleanup should also check the following directories (and clean):

      /tmp/hadoop-*

      For example, if the /tmp/hadoop-nagios directory is present, but it doesn't have the right ownership/perms for nagios user, the Hive Metastore Nagios alert will occur. I saw this after doing an install on an un-clean machine.

      Hive Metastore status
      CRIT for about a minute
      CRITICAL: Error accessing Hive Metastore status [Error creating temp dir in hadoop.tmp.dir /tmp/hadoop-nagios due to Permission denied]
      

      An easy way to reproduce this:

      1) Perform install
      2) Go to Nagios server machine
      3) Change perms on /tmp/hadoop-nagios so that the nagios user does not have access
      4) The Nagios alert will fire

      Attachments

        Issue Links

          Activity

            People

              dshkvyra Dmytro Shkvyra
              dshkvyra Dmytro Shkvyra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: