@@ -31,9 +31,14 @@ String serverType = (String)getServletContext().getAttribute("hbase.thrift.serve
3131long  startcode =  conf. getLong(" startcode" System . currentTimeMillis());
3232String  listenPort =  conf. get(" hbase.regionserver.thrift.port" " 9090" 
3333ImplType  implType =  ImplType . getServerImpl(conf);
34- String  framed =  implType. isAlwaysFramed()
35-     ?  " true" :  conf. get(" hbase.regionserver.thrift.framed" " false"  
36- String  compact =  conf. get(" hbase.regionserver.thrift.compact" " false" 
34+ 
35+ String  transport = 
36+   (implType. isAlwaysFramed() ||  
37+     conf. getBoolean(" hbase.regionserver.thrift.framed" false )) ?  " Framed" :  " Standard"  
38+ String  protocol = 
39+   conf. getBoolean(" hbase.regionserver.thrift.compact" false ) ?  " Compact" :  " Binary"  
40+ String  qop =  conf. get(" hbase.thrift.security.qop" " None" 
41+ 
3742% >
3843<!DOCTYPE html>
3944<?xml  version =" 1.0" encoding =" UTF-8" 
@@ -53,12 +58,15 @@ String compact = conf.get("hbase.regionserver.thrift.compact", "false");
5358  <div  class =" navbar  navbar-fixed-top navbar-default" 
5459      <div  class =" container-fluid" 
5560          <div  class =" navbar-header" 
56-               <button  type =" button" class =" navbar-toggle" data-toggle =" collapse" data-target =" .navbar-collapse" 
61+               <button  type =" button" 
62+                       class =" navbar-toggle" data-toggle =" collapse" data-target =" .navbar-collapse" 
5763                  <span  class =" icon-bar" span >
5864                  <span  class =" icon-bar" span >
5965                  <span  class =" icon-bar" span >
6066              </button >
61-               <a  class =" navbar-brand" href =" /thrift.jsp" img  src =" /static/hbase_logo_small.png" alt =" HBase Logo" a >
67+               <a  class =" navbar-brand" href =" /thrift.jsp" 
68+                 <img  src =" /static/hbase_logo_small.png" alt =" HBase Logo" 
69+               </a >
6270          </div >
6371          <div  class =" collapse navbar-collapse" 
6472              <ul  class =" nav navbar-nav" 
@@ -112,26 +120,32 @@ String compact = conf.get("hbase.regionserver.thrift.compact", "false");
112120            <td >Thrift RPC engine implementation type chosen by this Thrift server</td >
113121        </tr >
114122        <tr >
115-             <td >Compact  Protocol</td >
116-             <td ><%=  compact   % >td >
117-             <td >Thrift RPC engine uses compact  protocol</td >
123+             <td >Protocol</td >
124+             <td ><%=  protocol   % >td >
125+             <td >Thrift RPC engine protocol type </td >
118126        </tr >
119127        <tr >
120-             <td >Framed  Transport</td >
121-             <td ><%=  framed   % >td >
122-             <td >Thrift RPC engine uses framed  transport</td >
128+             <td >Transport</td >
129+             <td ><%=  transport   % >td >
130+             <td >Thrift RPC engine transport type </td >
123131        </tr >
124132        <tr >
125133            <td >Thrift Server Type</td >
126134            <td ><%=  serverType  % >td >
127135            <td >The type of this Thrift server</td >
128136        </tr >
137+       <tr >
138+         <td >Quality of Protection</td >
139+         <td ><%=  qop  % >td >
140+         <td >QOP Settings for SASL</td >
141+       </tr >
129142    </table >
130143    </section >
131144    </div >
132145    <div  class =" row" 
133146        <section >
134-             <a  href =" http://hbase.apache.org/book.html#_thrift" a >
147+             <a  href =" http://hbase.apache.org/book.html#_thrift" 
148+               Apache HBase Reference Guide chapter on Thrift</a >
135149        </section >
136150    </div >
137151</div >
0 commit comments