贫民窟里的程序高手

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2018年4月23日

摘要: 注意事项 HBase配置必须使用主机名,不支持直接配置IP地址。我尝试过,如果不使用主机名直接用IP,会导致HBase连接zk超时。 > 设置主机名 hostnamectl set-hostname HM107 > 修改hosts添加主机名和IP的映射关系 vim /etc/hosts 192.16 阅读全文
posted @ 2018-04-23 18:21 贫民窟里的程序高手 阅读(283) 评论(0) 推荐(0)

摘要: 如果既想在Hadoop服务器本地可以通过绝对路径如"/user/hadoop"方式访问hdfs,也想通过"hdfs://local host:9000/user/hadoop的方式访问hdfs,此时做需要配置core-site.xml: 上面的配置只能让你使用"hadoop fs -ls /user 阅读全文
posted @ 2018-04-23 18:20 贫民窟里的程序高手 阅读(7948) 评论(0) 推荐(0)

摘要: 1、安装环境 ①、四台Linux CentOS6.7 系统 hostname ipaddress subnet mask geteway 1、 master 192.168.146.200 255.255.255.0 192.168.146.2 2、 slave1 192.168.146.201 2 阅读全文
posted @ 2018-04-23 18:18 贫民窟里的程序高手 阅读(283) 评论(0) 推荐(0)

摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2018-04-23 18:08 贫民窟里的程序高手 阅读(172) 评论(0) 推荐(0)

摘要: 1、下载Hive2.3.0 2、解压到指定安装目录 3、配置/etc/profile,在/etc/profile中添加如下语句 使之生效 4、安装MySQL数据库 参考 centos7下安装mysql(yum) 5、创建metastore数据库并为其授权 6、 下载jdbc connector 下载 阅读全文
posted @ 2018-04-23 18:05 贫民窟里的程序高手 阅读(289) 评论(0) 推荐(0)

摘要: 基本没有什么难度,只要照着官网上配置就行,这里有以下几点需要注意: 阅读全文
posted @ 2018-04-23 17:55 贫民窟里的程序高手 阅读(135) 评论(0) 推荐(0)