You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/10/23 14:00:36 UTC

[jira] [Resolved] (AMBARI-7918) HDP2.2 Oozie check fails on Ubuntu

     [ https://issues.apache.org/jira/browse/AMBARI-7918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-7918.
-------------------------------------
    Resolution: Fixed

Committed to trunk and branch-1.7.0

> HDP2.2 Oozie check fails on Ubuntu
> ----------------------------------
>
>                 Key: AMBARI-7918
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7918
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.7.0
>
>
>     2014-10-22 13:20:07,846 - Error while executing command 'service_check':
>     Traceback (most recent call last):
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 122, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/OOZIE/package/scripts/service_check.py", line 31, in service_check
>         oozie_smoke_shell_file( smoke_test_file_name)
>       File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/OOZIE/package/scripts/service_check.py", line 55, in oozie_smoke_shell_file
>         logoutput = True
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 237, in action_run
>         raise ex
>     Fail: Execution of '/var/lib/ambari-agent/data/tmp/oozieSmoke2.sh ubuntu /etc/oozie/conf /usr/hdp/current/oozie-client/bin /etc/hadoop/conf /usr/hdp/current/hadoop-client/bin ambari-qa False' returned 1. stdin: is not a tty
>     /var/lib/ambari-agent/data/tmp/oozieSmoke2.sh: line 27: xmllint: command not found
>     /var/lib/ambari-agent/data/tmp/oozieSmoke2.sh: line 27: xmllint: command not found
>     /var/lib/ambari-agent/data/tmp/oozieSmoke2.sh: line 27: xmllint: command not found
>     Package `oozie-client' is not installed.
>     Use dpkg --info (= dpkg-deb --info) to examine archive files,
>     and dpkg --contents (= dpkg-deb --contents) to list their contents.
>     dirname: missing operand
>     Try `dirname --help' for more information.
>     14/10/22 13:19:50 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes.
>     Moved: 'hdfs://u1201.ambari.apache.org:8020/user/ambari-qa/examples' to trash at: hdfs://u1201.ambari.apache.org:8020/user/ambari-qa/.Trash/Current
>     14/10/22 13:19:53 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 360 minutes, Emptier interval = 0 minutes.
>     Moved: 'hdfs://u1201.ambari.apache.org:8020/user/ambari-qa/input-data' to trash at: hdfs://u1201.ambari.apache.org:8020/user/ambari-qa/.Trash/Current
>     source /etc/oozie/conf/oozie-env.sh ; /usr/hdp/current/oozie-client/bin/oozie -Doozie.auth.token.cache=false job -oozie -config /usr/hdp/current/oozie-client/doc//examples/apps/map-reduce/job.properties -run
>     Invalid sub-command: Missing argument for option: oozie
>     
>     use 'help [sub-command]' for help details
>     Invalid sub-command: Missing argument for option: oozie
>     
>     use 'help [sub-command]' for help details
>     Invalid sub-command: Missing argument for option: oozie
>     
>     use 'help [sub-command]' for help details
>     
>     workflow_status=
>     



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