Skip to content

Commit d653935

Browse files
committed
HBASE-20395 Addendum Displaying thrift server type on the thrift page
1 parent 636fa2c commit d653935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ protected void startInfoServer() throws IOException {
304304
.get(THRIFT_INFO_SERVER_BINDING_ADDRESS, THRIFT_INFO_SERVER_BINDING_ADDRESS_DEFAULT);
305305
infoServer = new InfoServer("thrift", a, port, false, conf);
306306
infoServer.setAttribute("hbase.conf", conf);
307-
infoServer.setAttribute("hbase.thrift.server.type", metrics.getThriftServerType());
307+
infoServer.setAttribute("hbase.thrift.server.type", metrics.getThriftServerType().name());
308308
infoServer.start();
309309
}
310310
}

0 commit comments

Comments
 (0)