TOP

hbase在hue上的配置应用(hue的应用教程---3)
2019-02-12 01:39:22 】 浏览:76次 本网站的内容取自网络,仅供学习参考之用,绝无侵犯任何人知识产权之意。如有侵犯请您及时与本人取得联系,万分感谢。
Tags:hbase hue 配置 应用 教程 ---3

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/liuyunshengsir/article/details/82979188

1.hbase相关配置的修改

修改hbase-site.xml文件如下

<xml version="1.0">
<xml-stylesheet type="text/xsl" href="configuration.xsl">
<!--
/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<configuration> 
<property>
    <name>hbase.rootdir</name>
    <!--HDFS存储方式
    <value>hdfs://localhost:9000/tmp/hbase</value>
    -->
    <value>file:///usr/hbase-1.2.3/tmp</value>
 </property>
  <property>
     <name>ha.zookeeper.quorum</name>
     <value>localhost:2181</value>
  </property>
  
  <!--下面为hue的相关配置-->
  
  <property>
      <name>hbase.thrift.support.proxyuser</name>
      <value>true</value>
   </property>

    <property>
      <name>hbase.regionserver.thrift.http</name>
      <value>true</value>
    </property>
  
  
  
  
</configuration>

2.hue.ini的相关配置

[hbase]
  # Comma-separated list of HBase Thrift servers for clusters in the format of ''
(name|host:port)'.
  # Use full hostname with security.
  # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  ## hbase_clusters=(Cluster|localhost:9090)
  hbase_clusters=(Cluster|localhost:9090)

  # HBase configuration directory, where hbase-site.xml is located.
 # hbase_conf_dir=/usr/lib/xdata/hbase/conf
 hbase_conf_dir=/opt/hbase/hbase-1.2.2/conf
  # Hard limit of rows or columns per row fetched before truncating.
  truncate_limit = 500

  # 'buffered' is the default of the HBase Thrift Server and supports security.
  # 'framed' can be used to chunk up responses,
  # which is useful when used in conjunction with the nonblocking server in Thrii
ft.
  thrift_transport=buffered

3.启动hbase服务

#启动hbase
./start-hbase.sh

#启动ThriftServer
hbase thrift start &

4.启动hue服务

 build/env/bin/supervisor

5.打开浏览器输入localhost:8888即可操作hbase

请关注公众号获取更多资料


hbase在hue上的配置应用(hue的应用教程---3) https://www.cppentry.com/bencandy.php?fid=118&id=208046

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇基于Hbase存储的分布式消息(IM)系.. 下一篇Hbase架构   Hbase Region的..

评论

验 证 码:
表  情:
内  容: