摘要: 最终结果:[hadoop@h41 ~]$ jps12723 ResourceManager12995 Jps12513 NameNode12605 DFSZKFailoverController[hadoop@h42 ~]$ jps12137 ResourceManager12233 Jps1200 阅读全文
posted @ 2018-07-15 17:11 蜘蛛侠0 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 安装Kafka:我们使用3台机器搭建Kafka集群:192.168.121.132 h201192.168.121.131 h202 192.168.121.130 h203 下载kafka_2.10-0.10.1.0.tgz [hadoop@h201 ~]$ tar -zxvf kafka_2.1 阅读全文
posted @ 2018-07-14 17:59 蜘蛛侠0 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 基本概念 Docker 包括三个基本概念 镜像(Image) 容器(Container) 仓库(Repository) 先理解了这三个概念,就理解了 Docker 的整个生命周期。 1、docker安装与启动 容器资源限制参数 docker容器随系统自启参数 no – 默认值,如果容器挂掉不自动重启 阅读全文
posted @ 2018-07-13 16:09 蜘蛛侠0 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 第一步: http://mirrors.163.com/centos/6/os/x86_64/Packages/ 到上面这个网站去下载如下RPM包 python-iniparse-0.3.1-2.1.el6.noarch.rpm python-urlgrabber-3.9.1-11.el6.noar 阅读全文
posted @ 2018-07-13 14:40 蜘蛛侠0 阅读(202) 评论(0) 推荐(0) 编辑
摘要: jq is a fantastic command-line JSON processor. It plays nice with UNIX pipes and offers extensive functionality for interrogating, manipulating and wo 阅读全文
posted @ 2018-07-12 16:02 蜘蛛侠0 阅读(711) 评论(0) 推荐(0) 编辑
摘要: Git是一个开源的分布式版本控制系统,可以有效、高速的处理从很小到非常大的项目版本管理。而国外的GitHub和国内的Coding都是项目的托管平台。但是在使用Git工具的时候,第一步要学会如何安装git,本教程就手把手教大家如何手动编译安装git。 1、介绍 使用Coding管理项目,上面要求使用的 阅读全文
posted @ 2018-07-08 18:37 蜘蛛侠0 阅读(433) 评论(0) 推荐(1) 编辑
摘要: http://192.168.121.132:50070/ http://192.168.121.132:8088/cluster http://192.168.121.132:19888/jobhistory http://192.168.121.131:8042 配置文件修改 mapred-si 阅读全文
posted @ 2018-06-18 21:31 蜘蛛侠0 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 错误展示: ./zkServer.sh statusJMX enabled by defaultUsing config: /home/hadoop/zookeeper-3.4.5-cdh5.5.2/bin/../conf/zoo.cfgError contacting service. It is 阅读全文
posted @ 2018-06-18 21:18 蜘蛛侠0 阅读(895) 评论(0) 推荐(0) 编辑
摘要: vim partititon aa 1 2bb 2 22cc 11dd 1ee 99 99 999ff 12 23 123 [hadoop@h201 ~]$ hadoop fs -cat /user/hadoop/output/part-r-0000118/06/10 17:55:02 WARN u 阅读全文
posted @ 2018-06-10 18:00 蜘蛛侠0 阅读(140) 评论(0) 推荐(0) 编辑
摘要: vim topk.txt a 1000b 2000c 90000d 88e 999999f 9998g 13223 /usr/jdk1.7.0_25/bin/javac TopK.java /usr/jdk1.7.0_25/bin/jar cvf tk.jar TopK*class [hadoop@ 阅读全文
posted @ 2018-06-10 16:26 蜘蛛侠0 阅读(188) 评论(0) 推荐(0) 编辑