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

lv zehui commented on HBASE-17514:
----------------------------------

[~busbey] I go to ThriftServerRunner's construstor and emit a warning there.
The code looks like:
{code}
if (doAsEnabled) {
      if (!conf.getBoolean(USE_HTTP_CONF_KEY, false)) {
        LOG.warn("....");
      }
    }
}
{code}
Does it look good to you? How about thrift2?

> Warn when Thrift Server 1 is configured for proxy users but not the HTTP 
> transport
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-17514
>                 URL: https://issues.apache.org/jira/browse/HBASE-17514
>             Project: HBase
>          Issue Type: Improvement
>          Components: Thrift, Usability
>            Reporter: Sean Busbey
>            Priority: Minor
>              Labels: beginner
>
> The config {{hbase.thrift.support.proxyuser}} is ignored if the Thrift Server 
> 1 isn't configured to use an HTTP transport with 
> {{hbase.regionserver.thrift.http}}.
> We should emit a warning if our configs request proxy user support but don't 
> specify that HTTP should be used for the transport.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to