Oozie ambari安裝oozie失敗

2022-03-28 08:01:30 字數 2865 閱讀 1440

traceback (most recent call last):

file "/var/lib/ambari-agent/cache/common-services/oozie/4.0.0.2.0/package/scripts/oozie_server.py", line 222, in oozieserver().execute()

file "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute

method(env)

file "/var/lib/ambari-agent/cache/common-services/oozie/4.0.0.2.0/package/scripts/oozie_server.py", line 53, in install

self.install_packages(env)

file "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 605, in install_packages

retry_count=agent_stack_retry_count)

file "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__

self.env.run()

file "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run

self.run_action(resource, action)

file "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action

provider_action()

file "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 54, in action_install

self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)

file "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 51, in install_package

self.checked_call_with_retries(cmd, sudo=true, logoutput=self.get_logoutput())

file "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 86, in checked_call_with_retries

return self._call_with_retries(cmd, is_checked=true, **kwargs)

file "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 98, in _call_with_retries

code, out = func(cmd, **kwargs)

file "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 72, in inner

result = function(command, **kwargs)

file "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 102, in checked_call

tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)

result = _call(command, **kwargs_copy)

file "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 303, in _call

raise executionfailed(err_msg, code, out, err)

resource_management.core.exceptions.executionfailed: execution of '/usr/bin/yum -d 0 -e 0 -y install extjs' returned 1. error: nothing to do

問題原因:/usr/bin/yum -d 0 -e 0 -y install extjs 很明顯,在源中不存在extrs,其實在ambari安裝的時候,應該就把extjs加入的,但是因為我把這台伺服器上的ambari刪除了,導致了這個錯誤

解決方法:

第一種(不支援):

我們進入其他節點拷貝extjs-2.2-1.noarch.rpm到這台伺服器上的指定目錄

第二種:

參考通過ambari把這台伺服器上的所有元件都刪除,最後刪除ambari-agent,重新新增host

戲說OO思想

戲說 oo思想 oo 就是兩張嘴,總有說不停的話題。oo就是一對戀人,怎麼都不能完美統一。oo就是你和我,總願意將唾沫花在上面。oo 是缺乏精神食量時候的呼喚聲,oo是得意忘形的吼叫聲,oo是愉悅歡快時候的呻吟聲。可是,oo是什麼呢?oo 是物件導向,物件導向又是什麼呢?很多人非常了解 oo,可是 ...

戲說OO思想

戲說 oo思想 oo 就是兩張嘴,總有說不停的話題。oo就是一對戀人,怎麼都不能完美統一。oo就是你和我,總願意將唾沫花在上面。oo 是缺乏精神食量時候的呼喚聲,oo是得意忘形的吼叫聲,oo是愉悅歡快時候的呻吟聲。可是,oo是什麼呢?oo 是物件導向,物件導向又是什麼呢?很多人非常了解 oo,可是 ...

OO 設計原則

msil msil是.net framework中最重要的概念之一。通過msil可以預知不同.net語言的執行效率應該是接近的。通過msil匯程式設計序 ilasm.exe 和msil反匯程式設計序 dilasm.exe 可以觀察.net應用的內部構造,因此也可以用於.net應用 元件的破解。ild...