`

Install hue 3.5 with tarball realese

    博客分类:
  • Hue
 
阅读更多

EVN:  ubuntu 12.04/13.01   hadoop2.x.0   hue3.5.0    pig0.12.0  hive0.12.0  sqoop1.99.3 

         oozie4.0.0  hbase0.98.0

 

-

  • Prepare evn

-----------------

#sudo apt-get update

#sudo apt-get install libxml2-dev

#sudo apt-get install libxslt-dev

#sudo apt-get install libsasl2-dev

#sudo apt-get install libsasl2-modules-gssapi-mit

#sudo apt-get install libmysqlclient-dev

#sudo apt-get install python-dev

#sudo apt-get install python-setuptools

#sudo apt-get install python-simplejson

#sudo apt-get install libsqlite3-dev

 

the remaining packages can't be installed (uable to locate package)

cyrus-sasl-devel  cyrus-sasl-gssapi  krb5-devel  libtidy  openldap-devel

 

but the similar packages can be installed correctly.

        libsasl2-dev libsasl2-modules-gssapi-mit  libtidy-0.99-0     libkrb5-dev   libldap2-dev 

The dependency relations are wrong in the official site. Using the dependencies listed in the left column in

http://cloudera.github.io/hue/docs-3.5.0/manual.html

------------------
  • Install

#tar -xzvf hue-3.5.0.tar.gz

#cd hue-3.5.0

 

#PREFIX=/usr/share make install

produce errors, can't install sucessfully.

 

 

solution:

32位
sudo ln -fs /usr/lib/python2.7/plat-i386-linux-gnu/_sysconfigdata_nd.py /usr/lib/python2.7/
64位
sudo ln -fs /usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py /usr/lib/python2.7/

similar errors:

http://www.marshut.com/irrnwm/hue-make-error.html#irtpyi

 https://issues.cloudera.org/browse/HUE-1672

https://github.com/pypa/virtualenv/issues/410

 

but there still has an error:



 

 solution:

#PREFIX=/home/zhj make install

 

------------------

  • Configuration

Listing all Configuration Options

$ /path/to/hue/build/env/bin/hue config_help | less

Hue configuration fie dir is:    /path/to/hue/desktop/conf

 

hue.ini  log4j.properties  log.conf

 

-------------------------- hue conf  hue.ini ------------------------------

# Configuration for HDFS NameNode

fs_defaultfs=hdfs://192.168.122.1:2014

logical_name=hdfs://192.168.122.1:2014

webhdfs_url=http://192.168.122.1:50070/webhdfs/v1

 

# Configuration for YARN (MR2)

resourcemanager_host=192.168.122.1

resourcemanager_port=2015

resourcemanager_api_url=http://192.168.122.1:2019

history_server_api_url=http://192.168.122.1:10020  // => mapreduce.jobhistory.address (mapred-site.xml)

 

# Settings to configure Sqoop

server_url=http://192.168.122.1:12000/sqoop

 

# Settings to configure Pig
local_sample_dir=/home/zhaohj/hadoop/pig-0.12.0/contrib/piggybank/java

remote_data_dir=/user/hue/pig/piggybank

 

# Settings to configure Beeswax with Hive

hive_server_host=192.168.122.1

hive_server_port=10000
hive_conf_dir=/home/zhaohj/hadoop/hive-0.12.0-bin/conf

hive_home_dir=/home/zhaohj/hadoop/hive-0.12.0-bin

hive_server_bin=/home/zhaohj/hadoop/hive-0.12.0-bin/bin/hiveserver2

 

# Settings for the User Admin application
default_user_group=supergroup

 

# Settings to configure the Zookeeper application.

host_ports=host.dataminer:2181,f1.zhj:2181,f2.zhj:2181

rest_url=http://host.dataminer:9998

 

 

---------------- hadoop conf hdfs-site.xml -------------

<property>
  <name>dfs.webhdfs.enabled</name>
  <value>true</value>
</property>

 

---------------- hadoop conf core-site.xml -------------

<property>
  <name>hadoop.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>hadoop.proxyuser.hue.groups</name>
  <value>*</value>
</property>

 

If you place your Hue Server outside the Hadoop cluster, you can run an HttpFS server to provide Hue access to HDFS. The HttpFS service requires only one port to be opened to the cluster.

---------------- hadoop conf httpfs-site.xml -------------

<property>
  <name>httpfs.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>httpfs.proxyuser.hue.groups</name>
  <value>*</value>
</property>

 

 

  • Set Path and Start Hue

append the following two lines to the end of ~/.bashrc

export HUE_HOME=/home/zhaohj/hadoop/hue

export PATH=$HUE_HOME/build/env/bin:$PATH

#source ~/.bashrc

 

You maybe need to install sqoop, pig, hive, hbase,spark,impala,zookeeper,ooize or others related software

#sqoop.sh server start

#hiveserver2

 

-------

start Hue by command:

#supervisor 

 

You can now access Hue by the url

http://localhost:8888/

 

 ---------------------------------------------------------------------------------------------------------

The above steps succues on ubuntu12.04 but faild on Centos 6



some dependencies han't installed.

 

 

# yum install cyrus-sasl-plain

 

 

http://grokbase.com/p/cloudera/hue-user/13aq9ntmg8/hiveserver2-configuration-for-hue-3-0

 

 

references:

http://cloudera.github.io/hue/docs-3.5.0/manual.html

http://doc.mapr.com/display/MapR/Installing+Hue

https://help.ubuntu.com/10.04/serverguide/kerberos.html

http://archive.cloudera.com/cdh/3/hue/manual.html

  • 大小: 73.7 KB
  • 大小: 24.4 KB
  • 大小: 47.5 KB
  • 大小: 6.6 KB
分享到:
评论

相关推荐

    Apache Hue 2小时轻松搞定大数据可视化终端视频教程

    从实际企业需求角度出发,引入Hue的实际开发应用场景,基于Hue构建统一化的大数据集中式开发管理平台,并基于Hue构建可视化分析 课程亮点 1,知识体系完备,从小白到大神各阶段读者均能学有所获。 2,生动形象,化...

    Hue数据导入导出

    Hue数据导入导出 一套流程的开发使用 旨在帮助大家v e

    Hue 常见问题解决方案,大数据平台的hue/hive常见问题总结 免费下载

    大数据常用组件 Hue的常见问题解决方案,包涵大部分常见Hue的问题整理,供参考

    hue-3.7.0-cdh5.3.6

    这个是hue-3.7.0-cdh5.3.6版本压缩包.

    CM安装Hue测试hue数据库连接异常使用; .zip

    CM安装Hue测试hue数据库连接异常使用;

    hue-4.10.0_Centos7.9安装部署手册.rar

    hue-4.10.0在CentOS7.9服务器安装部署手册。python2.7.5+nodejs14安装部署手册

    hue的环境搭建

    hue的环境搭建,主要是用来管理大数据配置...yum install krb5-devel cyrus-sasl-gssapi cyrus-sasl-deve libxml2-devel libxslt-devel mysql mysql-devel openldap-devel python-devel python-simplejson sqlite-devel

    Apache Hue.pdf

    hue 学习

    hue-4.4.0.tgz

    Hue 4.4 and its improvements are out! he focus of this release was to improve the self service SQL troubleshooting and stability. This release comes with 450 commits and 80+ bug fixes! For all the ...

    hue的安装配置.doc

    Hue是cdh专门的一套web管理器,它包括3个部分hue ui,hue server,hue db。hue提供所有的cdh组件的shell界面的接口。你可以在hue编写mr,查看修改hdfs的文件,管理hive的元数据,运行Sqoop,编写Oozie工作流等大量...

    hue install doc

    hue 安装包,安装文档

    hue搭建收集的文档

    hue搭建。。

    hue-discover:探索飞利浦Hue桥

    色相发现探索本地可用的顺化桥npm install hue-discover用法const discover = require ( 'hue-discover' ) ;discover ( ) . then ( bridges =&gt; { for ( let bridge of bridges ) { console . log ( birdge ) ; }} ) ...

    HUE用户手册

    Hue是一个开源的Apache Hadoop UI系统,最早是由Cloudera Desktop演化而来,由Cloudera贡献给开源社区,它是基于Python Web框架Django实现的。通过使用Hue我们可以在浏览器端的Web控制台上与Hadoop集群进行交互来...

    Hue 常见问题解决方案

    Hue 常见问题解决方案,包涵大部分常见Hue的问题整理,供参考

    hue-4.8.0.tgz

    hue-4.8.0.tgz

    hue-3.9.0-cdh5.7.1

    hue-3.9.0-cdh5.7.1 源码 hue-3.9.0-cdh5.7.1 源码 hue-3.9.0-cdh5.7.1 源码

    Hue安装详细介绍文档

    Hue可视化框架安装详细介绍文档,Hue可视化框架安装详细介绍文档

    HUE搭建说明文档

    Hue是一个开源的Apache Hadoop UI系统,由Cloudera Desktop演化而来,最后Cloudera公司将其贡献给Apache基金会的Hadoop社区,它是基于Python Web框架Django实现的。通过使用Hue我们可以在浏览器端的Web控制台上与...

    hue-3.11.0.tgz

    hue-3.11.0.tgz,官网下不了喔

Global site tag (gtag.js) - Google Analytics