Thursday, November 07, 2013

[repost ]hadoop hive安装手记

original:http://www.54chen.com/architecture/hive-hadoop-how-to-install.html hive是基于Hadoop的一个数据仓库工具,可以将结构化的数据文件映射为一张数据库表,并提供完整的sql查询功能,可以将sql语句转换为 MapReduce任务进行运行。 其优点是学习成本低,可以通过类SQL语句快速实现简单的MapReduce统计,不必开发专门的MapReduce应用,十分适合数据仓库的统计分析。 [网络环境设置] vim /etc/hosts 192.168.100.52 hadoop1 192.168.99.34 hadoop2 192.168.103.135 hadoop3 分别到对应机器执行: hostname hadoop1 hostname hadoop2 hostname hadoop3 [打通机器] hadoop1# ssh-keygen -t dsa -P ” -f ~/.ssh/id_dsa hadoop1# scp ~/.ssh/id_dsa.pub hadoop2:/root/ hadoop1# scp ~/.ssh/id_dsa.pub hadoop3:/root/ hadoop2# cat id_dsa.pub >> ~/.ssh/authorized_keys hadoop3# cat id_dsa.pub >> ~/.ssh/authorized_keys 验证:从hadoop1登录到hadoop2和hadoop3,不再需要密码。 [安装hadoop] 确保所有机器有 ssh rsync jdk 确保设置了: export [...]



via WordPress http://blog.newitfarmer.com/anls/hive-bi/13227/repost-hadoop-hive%e5%ae%89%e8%a3%85%e6%89%8b%e8%ae%b0#utm_source=rss&utm_medium=rss&utm_campaign=repost-hadoop-hive%25e5%25ae%2589%25e8%25a3%2585%25e6%2589%258b%25e8%25ae%25b0

Labels:

0 Comments:

Post a Comment

<< Home