You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2016/12/27 12:20:35 UTC

Review Request 55048: Zeppelin fails to start if spark is installed

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 365, in <module>
        Master().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 287, in execute
        method(env)
      File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 60, in install
        + params.spark_home + ' >> ' + params.zeppelin_log_file, user=params.zeppelin_user)
      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/system.py", line 262, 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 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)
      File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
        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 'echo spark_version:1.6 detected for spark_home: /usr/hdp/current/spark-client >> /grid/0/log/zeppelin/zeppelin-setup.log' returned 1. -bash: /grid/0/log/zeppelin/zeppelin-setup.log: No such file or directory


Diffs
-----

  ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py 0bcc282 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Re: Review Request 55048: Zeppelin fails to start if spark is installed

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


Ship it!




Ship It!

- Dmitro Lisnichenko


On Dec. 27, 2016, 2:20 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/55048/
> -----------------------------------------------------------
> 
> (Updated Dec. 27, 2016, 2:20 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-19300
>     https://issues.apache.org/jira/browse/AMBARI-19300
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 365, in <module>
>         Master().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 287, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 60, in install
>         + params.spark_home + ' >> ' + params.zeppelin_log_file, user=params.zeppelin_user)
>       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/system.py", line 262, 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 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)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 150, in _call_wrapper
>         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 'echo spark_version:1.6 detected for spark_home: /usr/hdp/current/spark-client >> /grid/0/log/zeppelin/zeppelin-setup.log' returned 1. -bash: /grid/0/log/zeppelin/zeppelin-setup.log: No such file or directory
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py 0bcc282 
> 
> Diff: https://reviews.apache.org/r/55048/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>