You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/08 04:36:11 UTC

[jira] [Commented] (AMBARI-14257) Storm metrics do not work after upgrading Ambari to 2.1.2.

    [ https://issues.apache.org/jira/browse/AMBARI-14257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15046284#comment-15046284 ] 

Hudson commented on AMBARI-14257:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #3992 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3992/])
AMBARI-14257 : Storm metrics do not work after upgrading Ambari to (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=53fb588f27fcda6791ac440dc170cb01b89cf498])
* ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
* ambari-common/src/main/python/resource_management/core/providers/system.py


> Storm metrics do not work after upgrading Ambari to 2.1.2.
> ----------------------------------------------------------
>
>                 Key: AMBARI-14257
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14257
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>    Affects Versions: 2.1.2
>            Reporter: Aravindan Vijayan
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14257.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)