ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 41217: RESTART STORM/NIMBUS fails during EU, 2.1 --> 2.3
Date Thu, 10 Dec 2015 19:08:41 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41217/
-----------------------------------------------------------

(Updated Dec. 10, 2015, 9:08 p.m.)


Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya, and Nate Cole.


Changes
-------

Removed format()


Bugs: AMBARI-14326
    https://issues.apache.org/jira/browse/AMBARI-14326


Repository: ambari


Description
-------

{code}
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py",
line 149, in <module>
Nimbus().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line
218, in execute
method(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line
514, in restart
self.start(env, upgrade_type=upgrade_type)
File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py",
line 68, in start
self.configure(env)
File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py",
line 50, in configure
storm("nimbus")
File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in thunk
return fn(*args, **kwargs)
File "/var/lib/ambari-agent/cache/common-services/STORM/0.9.1.2.1/package/scripts/storm.py",
line 103, in storm
only_if=format("ls {metric_collector_sink_jar}")
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 158,
in run
self.run_action(resource, action)
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 121,
in run_action
provider_action()
File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line
238, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
result = function(command, **kwargs)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
tries=tries, try_sleep=try_sleep)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'ambari-sudo.sh ln -s /usr/lib/storm/lib/ambari-metrics-storm-sink*.jar
/usr/hdp/current/storm-nimbus/lib/ambari-metrics-storm-sink.jar' returned 1. ln: target `/usr/hdp/current/storm-nimbus/lib/ambari-metrics-storm-sink.jar'
is not a directory
{code}

Perhaps because there are two files that satisfy the wildcard:
{code}
ls /usr/lib/storm/lib/ambari-metrics-storm-sink*.jar
/usr/lib/storm/lib/ambari-metrics-storm-sink.jar  /usr/lib/storm/lib/ambari-metrics-storm-sink-with-common-2.2.0.0.1262.jar
{code}


Diffs (updated)
-----

  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
4e97c65 

Diff: https://reviews.apache.org/r/41217/diff/


Testing
-------

mvn clean test

Checked upgrade on live cluster


Thanks,

Dmitro Lisnichenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message