HBASE-20395 Addendum Displaying thrift server type on the thrift page
This commit is contained in:
parent
636fa2c6b0
commit
d6539350ed
|
@ -304,7 +304,7 @@ public class ThriftServer extends Configured implements Tool {
|
|||
.get(THRIFT_INFO_SERVER_BINDING_ADDRESS, THRIFT_INFO_SERVER_BINDING_ADDRESS_DEFAULT);
|
||||
infoServer = new InfoServer("thrift", a, port, false, conf);
|
||||
infoServer.setAttribute("hbase.conf", conf);
|
||||
infoServer.setAttribute("hbase.thrift.server.type", metrics.getThriftServerType());
|
||||
infoServer.setAttribute("hbase.thrift.server.type", metrics.getThriftServerType().name());
|
||||
infoServer.start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue