You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "zhengchenyu (JIRA)" <ji...@apache.org> on 2016/12/15 02:01:58 UTC

[jira] [Created] (HADOOP-13909) Add serviceRestart function to the class AbstractService so that we could hot start some service or thread.

zhengchenyu created HADOOP-13909:
------------------------------------

             Summary: Add serviceRestart function to the class AbstractService so that we could hot start some service or thread.
                 Key: HADOOP-13909
                 URL: https://issues.apache.org/jira/browse/HADOOP-13909
             Project: Hadoop Common
          Issue Type: Wish
          Components: common
            Reporter: zhengchenyu
            Priority: Minor


In our cluster, we found that the web service was not available, maybe jetty server didn't close the socket normally so that so many connection keep the state of CLOSE_WAIT. Here we decide to restart the resourcemanager, then problem is solved.But we must know other service of the resourcemanager is normal. 
In this case, we must restart the resourcemanager process, just because of web service. Other service is paused because of restarting resourcemanager, but other service is normal. 
Here I wish to add a serviceRestart function so that we could only restart the web service thread when web service is not normal. This operation won't influence other service. 



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

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