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 <ao...@hortonworks.com> on 2014/10/23 13:55:47 UTC

Review Request 27074: HDP2.2 Oozie check fails on Ubuntu

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

Review request for Ambari and Dmytro Sen.


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


Repository: ambari


Description
-------


    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=
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.2/services/OOZIE/metainfo.xml 6427595 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 27074: HDP2.2 Oozie check fails on Ubuntu

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27074/#review57976
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Oct. 23, 2014, 11:57 a.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27074/
> -----------------------------------------------------------
> 
> (Updated Oct. 23, 2014, 11:57 a.m.)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-7918
>     https://issues.apache.org/jira/browse/AMBARI-7918
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 
>     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=
>     
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/OOZIE/metainfo.xml 6427595 
> 
> Diff: https://reviews.apache.org/r/27074/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>


Re: Review Request 27074: HDP2.2 Oozie check fails on Ubuntu

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27074/
-----------------------------------------------------------

(Updated Oct. 23, 2014, 11:57 a.m.)


Review request for Ambari and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------


    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=
    


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.2/services/OOZIE/metainfo.xml 6427595 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk