hbase在hue上的配置应用(hue的应用教程---3)

1.hbase相关配置的修改

修改hbase-site.xml文件如下




 

    hbase.rootdir
    
    file:///usr/hbase-1.2.3/tmp
 
  
     ha.zookeeper.quorum
     localhost:2181
  
  
  
  
  
      hbase.thrift.support.proxyuser
      true
   

    
      hbase.regionserver.thrift.http
      true
    
  
  
  
  

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

你可能感兴趣的:(hadoop,Hadoop实战学习)