摘要: 解压user.zip [root@hadoop1 test]# unzip user.zip -d /test/bigdatacase/dataset Archive: user.zip inflating: /test/bigdatacase/dataset/raw_user.csv inflat 阅读全文
posted @ 2020-11-16 13:54 可樂Star 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 记录一下一个简单的hadoop启动脚本 就是启动zookeeper集群,hadoop的HDFS和YRAN的脚本 start-cluster.sh 关于关闭的脚本,只需要顺序换一下,然后将start改为stop #!/bin/bash # 集群IP地址 hadoop001=IP地址 hadoop002 阅读全文
posted @ 2020-11-14 20:43 可樂Star 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 多级层次结构: 是从使用语言的角度,基于程序员与计算机系统对话中所采用的语言结构和语义划分。 现代计算机系统的层次结构分为六级: 多级层次结构中(机器—语言) M5: 应用语言机器 – 应用语言M4: 高级语言机器 – 高级语言M3: 操作系统机器 – 作业控制语言M2: 汇编语言机器 – 汇编语言 阅读全文
posted @ 2020-11-06 05:17 可樂Star 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 打开hive报错 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See htt 阅读全文
posted @ 2020-10-31 04:44 可樂Star 阅读(922) 评论(0) 推荐(0) 编辑
摘要: 进入hive报错信息如下 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/program/apache-hive-3.1.2-bin/lib/log4j-slf4j-impl 阅读全文
posted @ 2020-10-31 04:38 可樂Star 阅读(987) 评论(0) 推荐(0) 编辑
摘要: python实现的集群批量命令工具,非常方便集群管理。同时其还带有pscp等功能 在合适的目录下,这里本机为/soft 输入命令 wget https://pypi.python.org/packages/source/p/pssh/pssh-2.3.1.tar.gz 1 [root@hadoop0 阅读全文
posted @ 2020-10-23 16:03 可樂Star 阅读(2193) 评论(0) 推荐(0) 编辑
摘要: 一、连接虚拟机 打开Xshell 点击文件——新建 点击连接 这个界面为连接成功 二、修改主机名 三台虚拟机都成功连接后 发现好像root@的名字都一样,修改一下以便区分 输入命令 hostname 查看当前hostname 一般都装了的 输入rpm -qa|grep vim 可以查看是否安装了Vi 阅读全文
posted @ 2020-10-23 15:10 可樂Star 阅读(119) 评论(0) 推荐(0) 编辑
摘要: CentOS 7 网络配置还有一个有趣的现象,我们都习惯使用 ifconfig 命令查看自己的网络信息和IP地址,但是在 CentOS 7 是无法执行的,如下图所示: 原因是 CentOS 7 使用 ip 命令代替了 ifconfig 命令, ifconfig 是 net-tools 中已被废弃使用 阅读全文
posted @ 2020-10-23 13:24 可樂Star 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 准备工作先查看本机是否开启虚拟化 可以打开任务管理器中性能选项 可以看到虚拟化默认关闭,可通过打开BIOS,找到Configuration或Security选项,把Virtualization或者Intel Virtual Technology设置为Enabled即可 这里使用的是软件是Virtua 阅读全文
posted @ 2020-10-23 01:12 可樂Star 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 创建soft目录 输入命令 mkdir /soft 1 [root@hadoop_a ~]# mkdir /soft 2 [root@hadoop_a /]# cd /soft 3 [root@hadoop_a soft]# ll 4 总用量 0 5 [root@hadoop_a soft]# 1. 阅读全文
posted @ 2020-10-23 00:33 可樂Star 阅读(244) 评论(0) 推荐(0) 编辑