ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagar Kulkarni (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-15732) zeppelin_log_dir change leads to fail for different Zeppelin Notebook service actions
Date Wed, 06 Apr 2016 12:49:25 GMT
Sagar Kulkarni created AMBARI-15732:
---------------------------------------

             Summary: zeppelin_log_dir change leads to fail for different Zeppelin Notebook
service actions
                 Key: AMBARI-15732
                 URL: https://issues.apache.org/jira/browse/AMBARI-15732
             Project: Ambari
          Issue Type: Bug
    Affects Versions: ambari-2.4.0
         Environment: Centos 6
            Reporter: Sagar Kulkarni
            Priority: Critical
             Fix For: ambari-2.4.0


Change zeppelin_log_dir to any new value (/var/log/zeppelin1). Save changes. Try to stop/restart
service. You will get error:
{code}
stderr: 
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 216, in <module>
    Master().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 241, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py",
line 137, in stop
    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
273, 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 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in
_call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 293, in
_call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh
stop >> /var/log/zeppelin1/zeppelin-setup.log' returned 1. -bash: /var/log/zeppelin1/zeppelin-setup.log:
No such file or directory
 stdout:
2016-04-05 16:11:12,172 - call['ambari-python-wrap /usr/bin/hdp-select status spark-client']
{'timeout': 20}
2016-04-05 16:11:12,209 - call returned (0, 'spark-client - 2.5.0.0-58')
2016-04-05 16:11:12,211 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists,
will call conf-select on it for version 2.5.0.0-58
2016-04-05 16:11:12,212 - Checking if need to create versioned conf dir /etc/hadoop/2.5.0.0-58/0
2016-04-05 16:11:12,212 - call[('ambari-python-wrap', '/usr/bin/conf-select', 'create-conf-dir',
'--package', 'hadoop', '--stack-version', '2.5.0.0-58', '--conf-version', '0')] {'logoutput':
False, 'sudo': True, 'quiet': False, 'stderr': -1}
2016-04-05 16:11:12,252 - call returned (1, '/etc/hadoop/2.5.0.0-58/0 exist already', '')
2016-04-05 16:11:12,253 - checked_call[('ambari-python-wrap', '/usr/bin/conf-select', 'set-conf-dir',
'--package', 'hadoop', '--stack-version', '2.5.0.0-58', '--conf-version', '0')] {'logoutput':
False, 'sudo': True, 'quiet': False}
2016-04-05 16:11:12,293 - checked_call returned (0, '/usr/hdp/2.5.0.0-58/hadoop/conf ->
/etc/hadoop/2.5.0.0-58/0')
2016-04-05 16:11:12,294 - Ensuring that hadoop has the correct symlink structure
2016-04-05 16:11:12,294 - Using hadoop conf dir: /usr/hdp/current/hadoop-client/conf
2016-04-05 16:11:12,295 - Execute['/usr/hdp/current/zeppelin-server/lib/bin/zeppelin-daemon.sh
stop >> /var/log/zeppelin1/zeppelin-setup.log'] {'user': 'zeppelin'}
{code}



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

Mime
View raw message