`

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
分享到:
评论

相关推荐

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

    《Hue 4.10.0 在 CentOS 7.9 上的安装与部署详解》 Hue 是一个开源的数据浏览和交互工具,主要用于 Hadoop 生态系统,它提供了直观的 Web 界面,使得用户无需编写代码即可进行数据查询、分析和管理。本篇将详细...

    Ambari2.7.4集成Hue4.6.0

    而 Hue 是一个开源的 Hadoop 用户界面系统,它允许用户通过浏览器进行数据处理和分析,如执行 HDFS 操作、MapReduce 任务、Hive 查询以及浏览 HBase 数据。 集成 Hue 4.6.0 到 Ambari 2.7.4 的过程是为 Hadoop 集群...

    hue的环境搭建

    安装Hue服务及其服务器端,使用命令`yum install hue hue-server`。 #### 四、启动与停止服务 1. **启动服务** 使用命令`sudo -u hue /usr/local/hue/build/env/bin/supervisor &`启动Hue服务。 2. **停止服务...

    hue简介及编译安装说明文档

    ### 3.5 启动 Hue 启动 Hue 是编译安装 Hue 的第四步。使用 Hue 的可执行文件启动 Hue,检查是否可以正常启动。 ### 3.6 配置 Hue.ini 配置 Hue.ini 是编译安装 Hue 的第五步。Hue.ini 是 Hue 的配置文件,用于...

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

    在大数据处理领域,Hue作为一个用户友好的交互式界面,为Hadoop生态系统提供了一种直观的方式来访问和操作数据。Hue集成了多个大数据组件,如HDFS、Hive、Pig、Spark等,使得数据分析师和开发人员可以方便地进行数据...

    hue install doc

    完成配置后,你可以通过 `make install` 将构建好的 Hue 安装到系统中。然后,使用 `start-hue.sh` 脚本来启动服务。记得检查日志文件以确保启动无误。 7. **测试与访问** 启动 Hue 后,可以在浏览器中输入 `...

    hue-4.2.0.tgz

    - **构建脚本**:如`build`或`install`脚本,用于编译、打包和部署Hue。 - **依赖库**:可能包含Hue运行所需的外部库或模块。 为了安装和运行Hue 4.2.0,你需要: 1. **解压文件**:使用`tar -zxvf hue-4.2.0.tgz`...

    hue搭建收集的文档

    这将生成一个可执行的文件,你可以通过`sudo make install`将其安装到系统路径中。 5. **启动Hue服务**:安装完毕后,使用`sudo service hue start`命令启动Hue服务。默认情况下,Hue的Web界面将在`...

    hue-3.7.0-cdh5.3.6

    Hue是开源的数据浏览和分析工具,它为大数据生态系统提供了一个用户友好的界面。"hue-3.7.0-cdh5.3.6" 版本是针对Cloudera Data Hub (CDH) 5.3.6的一个定制化版本,主要用于与CDH组件集成,如Hadoop、HBase、Hive、...

    hue-4.8.0.tgz

    4. **构建和安装**:使用`make`命令编译Hue源代码,然后使用`make install`将Hue安装到系统路径。 5. **启动和监控**:使用`start-hue`脚本启动Hue服务器,并通过浏览器访问指定的URL(通常是`...

    HUE搭建说明文档

    sudo yum -y install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi gcc gcc-c++ krb5-devel libtidy libxml2-devel libxslt-devel openldap-devel python-devel sqlite-devel openssl-devel mysql-devel gmp-...

    大数据Hue架构原理.pdf

    "大数据Hue架构原理.pdf" 大数据Hue架构原理.pdf文件提供了Hue架构原理的详细介绍,涵盖了Hue的定义、架构、可靠性、安装与配置等方面的知识点。 Hue的定义和特征 Hue是一个基于Django框架的开源Web服务,汇聚了...

    hue-cdh版本

    Hue是开源的数据浏览和分析工具,它为Apache Hadoop生态系统提供了一个用户友好的Web界面,让用户无需编程就能访问Hadoop集群的数据。在这个“hue-3.7.0-cdh5.3.6”版本中,我们关注的是Hue与Cloudera Data Hub (CDH...

    HUE简介及编译安装

    ### Hue简介及编译安装详解 #### 一、Hue简介 **Hue** 是一个开源的Apache Hadoop UI系统,最初由Cloudera Desktop发展而来,并最终由Cloudera贡献给开源社区。Hue是基于Python Web框架Django实现的,通过它,用户...

    hue-3.7.1.tgz 工具

    编译成功后,使用`sudo make install`将Hue安装到系统路径中。 3. **配置Hue**:在"/etc/hue/conf"目录下(或者在解压目录的"build/conf"下,根据你的安装方式),编辑`hue.ini`配置文件。你需要在这里配置Hue连接...

    hue-3.9.0-cdh5.14.0.tar.gz

    Hue是Apache软件基金会的一个开源项目,它提供了一个用户友好的Web界面,用于交互式地查询、管理和处理大数据。Hue提供了多种数据操作工具,包括HDFS浏览器、Hive查询编辑器、Impala shell等,使得非技术人员也能...

    Hue安装详细介绍文档

    Hue是一个开源的Web界面,用于Apache Hadoop,它能够简化在Hadoop集群上的文件、任务及作业的管理。Hue支持多种组件,包括Hive、HBase、ZooKeeper、Oozie、Pig、Sqoop等。本知识点将详细介绍Hue的安装过程,包括环境...

    hue的安装配置.doc

    【 Hue 安装配置详解】 Hue 是 Cloudera Data Hub (CDH) 中的一款重要组件,它提供了一整套Web界面工具,使得用户能够更方便地管理和操作CDH中的各种大数据服务。Hue 主要由三个部分构成:Hue UI(用户界面)、Hue ...

    博客同款 hue 4.1 备份

    【HUE 4.1 备份详解】 HUE(Hadoop User Experience)是一款开源的Web界面工具,它为Apache Hadoop生态系统提供了丰富的用户界面,让用户可以方便地进行数据探索、查询、分析以及管理Hadoop集群。HUE 4.1版本是其...

Global site tag (gtag.js) - Google Analytics