Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.2
-
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
- links to