You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@knox.apache.org by 伍明 <su...@qq.com> on 2020/12/15 11:36:02 UTC

Access hbase web ui through knox error 405

Hello,
&nbsp; &nbsp;When I access hbase web ui through&nbsp; gateway(https://{gateway-host}:{gateway-port}/{gateway-path}/{cluster-name}/hbase/webui/)





&nbsp; &nbsp;I configure sandbox.xml&nbsp; as&nbsp; http://knox.apache.org/books/knox-1-5-0/user-guide.html#HBase+UI


&nbsp; &nbsp; <service&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <role&gt;HBASEUI</role&gt;
&nbsp; &nbsp; &nbsp; &nbsp; <url&gt;http://HBASEMASETER:16010</url&gt;
&nbsp; &nbsp; </service&gt;







&nbsp; &nbsp;gateway-audit.log&nbsp; as follows:
20/12/15 11:04:09 ||9621c1b7-eefa-4205-97a0-7038e30574d7|audit|10.123.52.11|WEBHBASE||||access|uri|/gateway/sandbox/hbase/webui/|unavailable|Request method: GET
20/12/15 11:04:09 ||9621c1b7-eefa-4205-97a0-7038e30574d7|audit|10.123.52.11|WEBHBASE|guest|||authentication|uri|/gateway/sandbox/hbase/webui/|success|
20/12/15 11:04:09 ||9621c1b7-eefa-4205-97a0-7038e30574d7|audit|10.123.52.11|WEBHBASE|guest|||authentication|uri|/gateway/sandbox/hbase/webui/|success|Groups: []
20/12/15 11:04:09 ||9621c1b7-eefa-4205-97a0-7038e30574d7|audit|10.123.52.11|WEBHBASE|guest|||dispatch|uri|http://HBASEMASETER:8070/webui?user.name=guest|unavailable|Request method: GET
20/12/15 11:04:09 ||9621c1b7-eefa-4205-97a0-7038e30574d7|audit|10.123.52.11|WEBHBASE|guest|||dispatch|uri|http://HBASEMASETER:8070/webui?user.name=guest|success|Response status: 405
20/12/15 11:04:09 |||audit|10.123.52.11|WEBHBASE|guest|||access|uri|/gateway/sandbox/hbase/webui/|success|Response status: 405


&nbsp; &nbsp; note: The red mark hides private information