You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2014/09/22 16:04:46 UTC

Review Request 25893: Sqoop service check fails for HDP2.2

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

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARi-7432
    https://issues.apache.org/jira/browse/AMBARi-7432


Repository: ambari


Description
-------

Service check fails

2014-09-22 13:31:38,186 - 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/SQOOP/package/scripts/service_check.py", line 33, in service_check
    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 'sqoop version' returned 127. -bash: sqoop: command not found


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/params.py e97bb9f 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/service_check.py c42501a 
  ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_service_check.py fa87bc6 

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


Testing
-------


----------------------------------------------------------------------
Ran 227 tests in 0.585s

OK
----------------------------------------------------------------------
Total run:614
Total errors:0
Total failures:0
OK


Thanks,

Dmytro Sen


Re: Review Request 25893: Sqoop service check fails for HDP2.2

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25893/#review54128
-----------------------------------------------------------

Ship it!


Ship It!

- Dmitro Lisnichenko


On Sept. 22, 2014, 2:04 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/25893/
> -----------------------------------------------------------
> 
> (Updated Sept. 22, 2014, 2:04 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARi-7432
>     https://issues.apache.org/jira/browse/AMBARi-7432
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Service check fails
> 
> 2014-09-22 13:31:38,186 - 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/SQOOP/package/scripts/service_check.py", line 33, in service_check
>     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 'sqoop version' returned 127. -bash: sqoop: command not found
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/params.py e97bb9f 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/package/scripts/service_check.py c42501a 
>   ambari-server/src/test/python/stacks/2.0.6/SQOOP/test_service_check.py fa87bc6 
> 
> Diff: https://reviews.apache.org/r/25893/diff/
> 
> 
> Testing
> -------
> 
> 
> ----------------------------------------------------------------------
> Ran 227 tests in 0.585s
> 
> OK
> ----------------------------------------------------------------------
> Total run:614
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>