Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1.2
-
None
Description
Problem
Storm metrics do not work after upgrading Ambari to 2.1.2. ClassNotFound exception seen in the logs when storm metrics reporter class is accessed.
Bug
Storm lib directory is usually found in /usr/hdp/current/storm-nimbus/lib. In the code we try to delete the link from /usr/lib/storm/lib which is not present. Hence, we never update the symlink in the actual location thus causing a stale symlink.
Fix
Change the symlink deletion logic to look at the correct location. Also fix a bug in resource_management.system module where the action='delete' for Links must call the os.path.lexists rather than os.path.exists to return true for broken symlinks
Attachments
Attachments
Issue Links
- links to