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

Daemonization does not check process liveness before renicing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:

      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

            • Assignee:
              andrew.wang Andrew Wang
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: