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

Alexander Kolbasov commented on SENTRY-1798:
--------------------------------------------

SentryAuthorizationInfo is using custom thread name:

{code}
      executor = Executors.newSingleThreadScheduledExecutor(
          new ThreadFactory() {
            @Override
            public Thread newThread(Runnable r) {
              Thread t = new Thread(r, SentryAuthorizationInfo.class.getName() +
                  "-refresher");
              t.setDaemon(true);
              return t;
            }
          }
      );
{code}

> Provide names for HMSFollower and cleaner threads
> -------------------------------------------------
>
>                 Key: SENTRY-1798
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1798
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: Alexander Kolbasov
>            Assignee: Brian Towles
>              Labels: bite-sized, newbie
>             Fix For: sentry-ha-redesign
>
>         Attachments: SENTRY-1798.001-sentry-ha-redesign.patch
>
>
> We have several important thread executors which use default names - we 
> should use custom names instead. 
> At least we should do it for HMSFollower, cleaner thread and main service 
> thread.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to