[
https://issues.apache.org/jira/browse/AMBARI-11885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Onischuk resolved AMBARI-11885.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> Storm supervisors deployed by Ambari use storm-client link
> ----------------------------------------------------------
>
> Key: AMBARI-11885
> URL: https://issues.apache.org/jira/browse/AMBARI-11885
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.0
>
>
> After upgrading to HDP 2.2.4.2 we removed the HDP 2.2.0 directories to make
> sure we didn't have any hidden dependencies. When restarting services,
> supervisors failed to start with this error:
> Fail: Execution of 'ambari-sudo.sh ln -s /usr/lib/storm/lib/ambari-metrics-
> storm-sink*.jar /usr/hdp/current/storm-client/lib/ambari-metrics-storm-
> sink.jar' returned 1. ln: creating symbolic link `/usr/hdp/current/storm-
> client/lib/ambari-metrics-storm-sink.jar': No such file or directory
> 2015-05-22 13:33:27,950 - Command: /usr/bin/hdp-select status storm-supervisor
> > /tmp/tmpXh9erp
> We removed the supervisors and redeployed them, thinking it might be solved by
> a fresh deployment. When starting the newly deployed supervisors, we got this
> error:
> Fail: Execution of 'ambari-sudo.sh ln -s /usr/lib/storm/lib/ambari-metrics-
> storm-sink*.jar /usr/hdp/current/storm-client/lib/ambari-metrics-storm-
> sink.jar' returned 1. ln: creating symbolic link `/usr/hdp/current/storm-
> client/lib/ambari-metrics-storm-sink.jar': No such file or directory
> 2015-05-22 13:36:59,979 - Command: /usr/bin/hdp-select status storm-supervisor
> > /tmp/tmp4iP41d
> When a supervisor is deployed (in the absence of the nimbus, DRPC server or
> UI) it does create a /usr/hdp/current/storm-supervisor link that correctly
> links to /usr/hdp/<latestVersion>/storm, but it does not create a link for
> storm-client. Ambari Metrics tries to create the link for its jar using the
> storm-client link.
> Ambari Metrics needs to change the path for its link to use the appropriate
> component (in this case storm-supervisor).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)