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

Daemonization does not check process liveness before renicing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • scripts
    • None

    Description

      If you try to daemonize a process that is incorrectly configured, it will die quite quickly. However, the daemonization function will still try to renice it even if it's down, leading to something like this for my namenode:

      -> % bin/hdfs --daemon start namenode
      ERROR: Cannot set priority of namenode process 12036
      

      It'd be more user-friendly instead of this renice error, we said that the process couldn't be started.

      Attachments

        1. HADOOP-13632.001.patch
          2 kB
          Andrew Wang
        2. HADOOP-13632.002.patch
          2 kB
          Andrew Wang

        Activity

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: