hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhengchenyu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13909) Add serviceRestart function to the class AbstractService so that we could hot start some service or thread.
Date Mon, 19 Dec 2016 03:34:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15760038#comment-15760038
] 

zhengchenyu commented on HADOOP-13909:
--------------------------------------

I just code by your way. I called stop(), added a new instance. Then I completed the restart
operation of web.
I just wanna discuss the necessity of serviceRestart. Because I think it is important for
us to detach all service.

> 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
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message