[ 
https://issues.apache.org/jira/browse/HBASE-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HBASE-3808:
--------------------------------

    Attachment: hbase-to-string-on-executors-0.patch

@stack

I am unclear as to why Thread.CurrentThread().getName() would be useful? If we 
are calling toString() on an executor I assume it is going to be logged as as 
such the thread name will be included in the log record?

I have attached a patch for the master handlers.  If that looks OK I will do 
the region servers and send in one whole patch.

One note, there was a field in ServerShutdownHandler "server" which was 
shadowing a field in EventHandler. I removed the field from 
ServerShutdownHandler as it made the field private and as such unable to access 
in MetaServerShutdownHandler.

> Implement Executor.toString for master handlers at least
> --------------------------------------------------------
>
>                 Key: HBASE-3808
>                 URL: https://issues.apache.org/jira/browse/HBASE-3808
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Minor
>         Attachments: hbase-to-string-on-executors-0.patch
>
>
> On shutdown, if still outstanding Executors queued then when ExecutorService 
> lists what is outstanding, the list will be other than a list of default 
> toString implementations of ServerShutdownHandler objects.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to