Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12364

Deleting pid file after stop is causing the daemons to keep restarting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0
    • 3.0.0-alpha1
    • None
    • None

    Description

      pid files are deleting in 5 seconds after we stop the daemons. If a start command were executed within the 5 seconds, the pid file will be overwrite with a new pid. However, this pid file is going to be deleted by the former stop command. This is causing the monitoring service to lose track of the daemons, hence keep rebooting them

      Attachments

        1. HADOOP-12364.v1.patch
          2 kB
          Siqi Li
        2. HADOOP-12364.v2.patch
          0.9 kB
          Siqi Li
        3. HADOOP-12364.v3.patch
          5 kB
          Siqi Li
        4. HADOOP-12364.v4.patch
          5 kB
          Siqi Li
        5. HADOOP-12364.v5.patch
          5 kB
          Siqi Li

        Issue Links

          Activity

            People

              l201514 Siqi Li
              l201514 Siqi Li
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: