Andrew Wang created HADOOP-13632:
------------------------------------

             Summary: Daemonization does not check process liveness before 
renicing
                 Key: HADOOP-13632
                 URL: https://issues.apache.org/jira/browse/HADOOP-13632
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
    Affects Versions: 3.0.0-alpha1
            Reporter: Andrew Wang


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:

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

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to