Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19316

Zeppelin stop failed during EU while deleting pid file with customized service user

    XMLWordPrintableJSON

Details

    Description

      Steps

      1. Deploy HDP-2.5.0.0 cluster with Ambari-2.5.0.0 (customized service users enabled for all services including Zeppelin)
      2. Start Express Upgrade to 2.6.0.0-267

      Result:
      Observed error while stopping Zeppelin notebook

      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/0.6.0.2.5/package/scripts/master.py", line 361, 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 159, 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 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 '/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh stop >> /grid/0/log/zeppelin/zeppelin-setup.log' returned 1. ######## Hortonworks #############
      This is MOTD message, added for testing in qe infra
      rm: cannot remove ‘/var/run/zeppelin/zeppelin-cstm-zeppelin-ctr-e85-1482808692054-0723-01-000003.hwx.site.pid’: Permission denied
      rm: cannot remove ‘/var/run/zeppelin/zeppelin-cstm-zeppelin-ctr-e85-1482808692054-0723-01-000003.hwx.site.pid’: Permission denied
      

      Attachments

        1. AMBARI-19316-branch-2.5-v1.patch
          2 kB
          Renjith Kamath
        2. AMBARI-19316-trunk-v1.patch
          4 kB
          Renjith Kamath

        Issue Links

          Activity

            People

              rkamath Renjith Kamath
              shavi71 Vivek Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: