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

[Zeppelin][Ambari] Service restart fails if one modifies the parameter "zeppelin_log_dir"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • ambari-server, ambari-web
    • None
    • Centos6

    Description

      There are 2 issues

      1. if a user modifies the "zeppelin_log_dir" parameter to a directory which is not present e.g. from /var/log to /tmp/log , save the configuration and restarts the service ,"Restart Zeppelin Notebook" Operation fails with error
            provider_action()
          File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 189, in action_create
            raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
        resource_management.core.exceptions.Fail: Applying Directory['/tmp/log/zeppelin'] failed, parent directory /tmp/log doesn't exist
        

        This is not sync with other services, For eg if one modifies the log directory for Hive Service from /var/log/hive to /tmp/log/hive. and restarts the service,. The Hive Service restarts successfully

      1. The second issue is even if the service restart fails the service status shown is GREEN and not RED

      Attachments

        Issue Links

          Activity

            People

              rkamath Renjith Kamath
              PankajSingh Pankaj Singh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: