Details
Description
Any problem in getting aggregated logs for rendering on web ui, then LogReader is not closed.
Now, it reader is not closed which causing many connections in close_wait state.
hadoopuser@hadoopuser:> jps
27909 JobHistoryServer
DataNode port is 50010. When greped with DataNode port, many connections are in CLOSE_WAIT from JHS.
hadoopuser@hadoopuser:> netstat -tanlp |grep 50010
tcp 0 0 10.18.40.48:50010 0.0.0.0:* LISTEN 21453/java
tcp 1 0 10.18.40.48:20596 10.18.40.48:50010 CLOSE_WAIT 27909/java
tcp 1 0 10.18.40.48:19667 10.18.40.152:50010 CLOSE_WAIT 27909/java
tcp 1 0 10.18.40.48:20593 10.18.40.48:50010 CLOSE_WAIT 27909/java
tcp 1 0 10.18.40.48:12290 10.18.40.48:50010 CLOSE_WAIT 27909/java
tcp 1 0 10.18.40.48:19662 10.18.40.152:50010 CLOSE_WAIT 27909/java