hadoop环境

hadoop版本为

hadoop version
Hadoop 2.10.1
Subversion https://github.com/apache/hadoop -r 1827467c9a56f133025f28557bfc2c562d78e816
Compiled by centos on 2020-09-14T13:17Z
Compiled with protoc 2.5.0
From source with checksum 3114edef868f1f3824e7d0f68be03650

客户端开发

  • 引入依赖(使用maven)

Read the rest of this entry

# hadoop集群环境安装

环境信息

主机名|ip|操作系统|hadoop版本

——–|——-|——-|—–

hadoop-master|172.16.23.153|CentOS Linux release 7.5.1804 (Core)|2.5.0

hadoop-slave1|172.16.23.154|CentOS Linux release 7.5.1804 (Core)|2.5.0

配置主机名

hadoop-master
[root]
hostnamectl set-hostname hadoop-master
su
hostname
cat <<EOF >> /etc/hosts
172.16.23.153 hadoop-master
172.16.23.154 hadoop-slave1
EOF

Read the rest of this entry