Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-945

Service lock files need to match init script name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: None
    • Labels:
      None

      Description

      The base name of the lock file created by init scripts needs to base name of the init script itself, because services are only shutdown if their lock file is present. Currently the Hadoop services do not have matching init scripts and lock files.

      This is not a problem in the recent patches to move Sqoop, Hive and HBase to similar templates, but it shouldn't be overridable in the .svc files. The template should enforce any system-specific LOCKDIR locations and ensure the outputted init script has the same name as the lockfile.

        Attachments

          Activity

            People

            • Assignee:
              mackrorysd Sean Mackrory
              Reporter:
              mackrorysd Sean Mackrory
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: