hue

Cloudera Manager安装部署

匆匆过客 提交于 2019-11-29 21:21:56
1 :下载 jdk1.8 2 : 新建 /usr/java 文件夹 将 jdk-8u 11-linux-x64.tar.gz 放到该文件夹中,并将工作目录切换到 /usr/java 目录下。如下图所示: 解压 tar -xzvf jdk-8u11-linux-x64.tar.gz 3: 配置环境变量 进入etc/profile 添加环境变量配置。 4: 设置 profile 使其立即生效 5:Establish Your Cloudera Manager Repository Strategy( 创建 Cloudera Manager 仓库源信息 ) 添加内容为 Wq 退出 vim 编辑器 6.安装Cloudera Manager Server Packages 7.安装Cloudera Manager Agent Packages 安装 cloudera-manager-agent-5.5.1-1.cm551.p0.8.el6.x86_64.rpm 安装 MySQL-python-1.2.3-0.3.c1.1.el6.x86_64.rpm 安装 mod_ssl-2.2.15-47.el6.centos.1.x86_64.rpm 安装 python-psycopg2-2.0.14-2.el6.x86_64.rpm 升级安装 httpd-2.2.15-47.el6.centos.1

Pig : result of json loader empty

你离开我真会死。 提交于 2019-11-29 16:23:53
I'm using cdh5 quickstart vm and I have a file like this(not full here): {"user_id": "kim95", "type": "Book", "title": "Modern Database Systems: The Object Model, Interoperability, and Beyond.", "year": "1995", "publisher": "ACM Press and Addison-Wesley", "authors": {}, "source": "DBLP" } {"user_id": "marshallo79", "type": "Book", "title": "Inequalities: Theory of Majorization and Its Application.", "year": "1979", "publisher": "Academic Press", "authors": {("Albert W. Marshall"), ("Ingram Olkin")}, "source": "DBLP" } and I used this script: books = load 'data/book-seded.json' using JsonLoader

Apache Sentry 第一弹:Server启动、连接Hue、分组详解

只愿长相守 提交于 2019-11-29 14:56:43
前言: Sentry是Hadoop安全方面的一个开源组件,目前还在孵化中,地址: https://sentry.incubator.apache.org。 原属于Cloudera开发,后来贡献给了Apache。关于它的强大直接摘录一段,全文请查看:http://www.csdn.net/article/2013-08-14/2816575-with-sentry-cloudera-fills-hadoops-enterprise-security-gap: Sentry是一个Hadoop的授权模块,为了对正确的用户和应用程序提供精确的访问级别,Sentry提供了细粒度级、基于角色的授权以及多租户的管理模式,为Hadoop使用者提供了以下便利: 能够在Hadoop中存储更敏感的数据 使更多的终端用户拥有Hadoop数据访问权 创建更多的Hadoop使用案例 构建多用户应用程序 符合规范(例如SOX,PCI,HIPAA,EAL3) 本文(也可能是系列)主要讲述使用中趟过的那些坑,和具体的使用参考。 一、安装 我这边使用的是cdh5.4.3版本,sentry的版本是1.4.0,直接找到cloudera官方,找到tarball下载、解压即可。然后修改下 /etc/profile,加到环境变量中 export SENTRY_HOME=/home/hadoop/apache-sentry-1

hue3.9安装过程中遇到的问题及解决方法

杀马特。学长 韩版系。学妹 提交于 2019-11-29 09:00:28
在安装hue以前你的服务器上要安装以下软件: CentOS JDK Maven Git Hadoop Hive Python 1、下载hue https://github.com/cloudera/hue 2、编译hue 进入到hue的根目录,执行make apps 3、执行后如果报下面的错,说明你的服务器上没有python-dev,按照下面的步骤安装 must have python development packages for 2.6 or 2.7. Could not find 解决方法 echo "deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted" | sudo tee -a /etc/apt/sources.list.d/precise-updates.list sudo apt-get update sudo apt-get install python2.7-dev 4、问题解决后,在hue的根目录下面执行make apps 5、在编译的过程中又遇到下面的错误 src/lxml/etree_defs.h:9:31: fatal error: libxml/xmlversion.h: No such file or directory 解决方法 sudo apt-get

Impala can't access all hive table

萝らか妹 提交于 2019-11-29 05:59:36
问题 I try to query hbase data through hive (I'm using cloudera). I did a fiew hive external table pointing to hbase but the thing is Cloudera's Impala doesn't have an access to all those tables. All hive external tables appear in the metastore manager but when I do a simple "show tables" in Impala, I see that 3 tables are missing. Would it be a privileges problem ? I see that in the metastore manager that the 3 tables missing are readable by everybody so... 回答1: Run the query 'invalidate metadata

iOS: Values for CIFilter (Hue) from Photoshop

大憨熊 提交于 2019-11-29 02:39:38
I am using the Hue filter to change the hue of an image: CIFilter* hueFilter = [CIFilter filterWithName:@"CIHueAdjust" <blah blah> [NSNumber numberWithFloat:hue], nil]; I have the Hue number I wish to use from Photoshop , but it doesn't correspond to the results I get from iOS. Is there a rule to change the number in PhotoShop to the number I should use in iOS ? The Hue in HSL/HSV color mode is an angular coordinate. In Photoshop, it is given in degrees (-180 to +180). In the CIHueAdjust filter, the angle is given in radians. From http://developer.apple.com/library/ios/#documentation

hue的load balance

自闭症网瘾萝莉.ら 提交于 2019-11-29 02:25:00
参考: hue的load balance官网: https://www.cloudera.com/documentation/enterprise/6/6.2/topics/hue_use_add_lb.html HA: https://www.cloudera.com/documentation/enterprise/6/6.2/topics/hue_sec_ha.html CDH启用hue的load balance: Hue-->添加角色 选择一台做为load balance的主机 Hue服务器可以与Load Balancers共享主机。 但Hue服务器必须位于与其他Hue服务器不同的主机上. 在hue server中再添加一台hue的主机. 重启服务. 通过web访问load balancer所在主机的8889端口(注意不是hue的8888端口了) http://192.189.142.89:8889 一个问题:启用load balance的会话保持问题: 源IP持久性 如果没有IP持久性,您可能会遇到错误“ 结果已过期,如果需要,请重新运行查询。 Hue通过“负载均衡器”向HiveServer2和Impala支持高可用性。 由于底层 Hue thrift库重用池中的TCP连接 ,因此单个用户会话可能 没有 相同的TCP连接。

HUE配置HBase

丶灬走出姿态 提交于 2019-11-28 12:42:02
HBase的配置 修改配置hue.ini的配置文件 [hbase] hbase_clusters=(Cluster|node1:9090) hbase_conf_dir=/usr/hbase-0.98.12.1-hadoop2/conf Cluster Hue展现的名字 node1:9090 hbase启动的thrift主机及端口 需要启动hdfs和hbase,然后再启动thrift hbase-daemon.sh start thrift 重新启动Hue,访问Web HBase的配置 修改配置hue.ini的配置文件 [hbase] hbase_clusters=(Cluster|node1:9090) hbase_conf_dir=/usr/hbase-0.98.12.1-hadoop2/conf Cluster Hue展现的名字 node1:9090 hbase启动的thrift主机及端口 需要启动hdfs和hbase,然后再启动thrift hbase-daemon.sh start thrift 重新启动Hue,访问Web 来源: https://www.cnblogs.com/liuys635/p/11407592.html

HUE的安装

放肆的年华 提交于 2019-11-28 12:41:30
HUE: Hadoop User Experience 官网地址: http://gethue.com/ Hue官网无法下载,超时。 使用CDH版本安装。 下载地址: http://archive.cloudera.com/cdh5/cdh/5/ 说明文档: http://archive.cloudera.com/cdh5/cdh/5/hue-3.9.0-cdh5.5.0/ 安装依赖包 参考:https://github.com/cloudera/hue 我的系统是CentOS,安装CentOS依赖包; yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libtidy libxml2-devel libxslt-devel make mysql mysql-devel openldap-devel python-devel sqlite-devel openssl-devel gmp-devel -y 下载 maven apache-maven-3.3.3-bin.tar.gz 解压 tar -xzvf apache-maven-3.3.3-bin.tar.gz -C /usr/ 设置maven环境变量

HUE配置HIVE

不羁的心 提交于 2019-11-28 12:41:27
HIVE配置 修改hue.ini配置文件 [beeswax] hive_server_host=node1 hive_server_port=10000 hive_conf_dir=/usr/hive-1.2.1/conf 重启HUE build/env/bin/supervisor 启动hdfs和hiveserver2 $HIVE_HOME/bin/hiveserver2 登录Web 点击:Query Editors->Hive 然后就可以通过图形化操作Hive了! HIVE配置 修改hue.ini配置文件 [beeswax] hive_server_host=node1 hive_server_port=10000 hive_conf_dir=/usr/hive-1.2.1/conf 重启HUE build/env/bin/supervisor 启动hdfs和hiveserver2 $HIVE_HOME/bin/hiveserver2 登录Web 点击:Query Editors->Hive 然后就可以通过图形化操作Hive了! 来源: https://www.cnblogs.com/liuys635/p/11407590.html