busbey commented on a change in pull request #850: HBASE-23312 HBase Thrift
SPNEGO configs (HBASE-19852) should be backwards compatible
URL: https://github.com/apache/hbase/pull/850#discussion_r349614411
##########
File path:
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java
##########
@@ -249,6 +263,27 @@ protected void setupParamters() throws IOException {
pauseMonitor.start();
}
+ private String getSpengoPrincipal(Configuration conf, String host) throws
IOException {
+ String principal = conf.get(THRIFT_SPNEGO_PRINCIPAL_KEY);
Review comment:
We're doing this ourselves instead of using Hadoop Configuration's
deprecation mechanisms because we want a different fall back order? Or we can't
set deprecation soon enough for some reason?
We should have comments proactively letting future folks know the reasoning.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services