You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/12/09 08:29:47 UTC

[GitHub] [hbase] bea0113 commented on a change in pull request #880: HBASE-18382 add transport type info into Thrift UI

bea0113 commented on a change in pull request #880: HBASE-18382 add transport type info into Thrift UI
URL: https://github.com/apache/hbase/pull/880#discussion_r355314132
 
 

 ##########
 File path: hbase-thrift/src/main/resources/hbase-webapps/thrift/thrift.jsp
 ##########
 @@ -31,9 +31,11 @@ String serverType = (String)getServletContext().getAttribute("hbase.thrift.serve
 long startcode = conf.getLong("startcode", System.currentTimeMillis());
 String listenPort = conf.get("hbase.regionserver.thrift.port", "9090");
 ImplType implType = ImplType.getServerImpl(conf);
-String framed = implType.isAlwaysFramed()
-    ? "true" : conf.get("hbase.regionserver.thrift.framed", "false");
-String compact = conf.get("hbase.regionserver.thrift.compact", "false");
+
+String transport = implType.isAlwaysFramed() ||conf.getBoolean("hbase.regionserver.thrift.framed", false) ? "Framed" : "Standard";
 
 Review comment:
   I corrected these, I hope it looks good now :)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services