[ https://issues.apache.org/jira/browse/HBASE-22935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917303#comment-16917303 ]
Andrew Purtell commented on HBASE-22935: ---------------------------------------- +1 > TaskMonitor warns MonitoredRPCHandler task may be stuck when it recently > started > -------------------------------------------------------------------------------- > > Key: HBASE-22935 > URL: https://issues.apache.org/jira/browse/HBASE-22935 > Project: HBase > Issue Type: Bug > Components: logging > Affects Versions: 3.0.0, 1.4.0, 1.5.0, 1.3.3, 2.0.0 > Reporter: David Manning > Assignee: David Manning > Priority: Minor > Attachments: HBASE-22935.master.001.patch > > > After settingĀ {{hbase.taskmonitor.rpc.warn.time}} to 180000, the logs show > WARN messages such as these > {noformat} > 2019-08-08 21:50:02,601 WARN [read for TaskMonitor] monitoring.TaskMonitor - > Task may be stuck: RpcServer.FifoWFPBQ.default.handler=4,queue=4,port=60020: > status=Servicing call from <ip>:55164: Scan, state=RUNNING, > startTime=1563305858103, completionTime=-1, queuetimems=1565301002599, > starttimems=1565301002599, clientaddress=<ip>, remoteport=55164, > packetlength=370, rpcMethod=Scan > {noformat} > Notice that the first {{starttimems}} is far in the past. The second > {{starttimems}} and the {{queuetimems}} are much closer to the log timestamp > than 180 seconds. I think this is because the warnTime is initialized to the > time that MonitoredTaskImpl is created, but never updated until we write a > warn message to the log. -- This message was sent by Atlassian Jira (v8.3.2#803003)