amabri安装教程

HDP3.1.5.0+Ambari2.7.5安装部署(Centos7.2) Centos7.2下载地址:http://archive.kernel.org/centos-vault/7.2.1511/isos/x86_64/CentOS-7-x86_64-DVD-1511.isoCentos7.2安装教程:http://1130739.blog.51cto.com/1120739/1738791附:CentOS官网历史发行版本下载地址:http://archive.ker... 阅读详情

目录

节点服务器基础配置 

step1:更改各节点主机名

​编辑step2:更改hosts文件

 step3:关闭防火墙

step4:禁用selinux

 step5:配置免密登录

step6:配置各节点JDK

step7:在ambari-hadoop1节点上安装mysql5.7

1. 检查本地资源库中是否有mysql的rpm包

2. 搭建mysql5.7的yum源

3. 安装mysql

 step8:创建ambari用户并设置权限

step8:三节点之间设置时钟同步

step9:安装httpd和wget服务

step10:主节点安装ambari-server

step11:初始化数据库

可能遇到的问题

​编辑 利用ambari web部署HDP

step1:设置集群名称 

​编辑 step2:select version

​编辑step3 Install Options

​编辑step4: Confirm Hosts

step5 Choose service

step6:Assign Masters

step7: Assign Slaves and Client

所需安装包下载地址:

链接:https://pan.baidu.com/s/1_97GbKRw_fxoGyOMDHeVag 
提取码:chjr

安装环境经典3节点,均为虚拟机的centos7,需要设置为静态IP

节点服务器基础配置 

step1:更改各节点主机名

(三节点都执行,设置各自节点主机名)

hostnamectl set-hostname ambari-hadoop1
hostnamectl set-hostname ambari-hadoop2
hostnamectl set-hostname ambari-hadoop3

step2:更改hosts文件

(三节点都执行)

vim /etc/hosts

 step3:关闭防火墙

(三节点均执行)

# 关闭防火墙
systemctl stop firewalld
# 查看防火墙状态
systemctl status firewalld
#设置开机关闭防火墙服务
systemctl disable firewalld

step4:禁用selinux

(三节点均执行)

# 永久性关闭selinux(重启服务器生效)
vim /etc/selinux/config
# 查看selinux状态
getenforce
# disabled为永久关闭,permissive为临时关闭,enforcing为开启

编辑config文件内容如下:

 step5:配置免密登录

(三节点均需要)

#生成密钥一路回车
ssh-keygen -t rsa
#分发密钥
ssh-copy-id 192.168.10.101
ssh-copy-id 192.168.10.102
ssh-copy-id 192.168.10.103

 验证免密登录是否成功,各节点间相互ssh

step6:配置各节点JDK

三节点均执行

#各个节点创建该目录
mkdir /usr/java

#将jdk压缩包上传至ambari-hadoop1的/usr/java目录下
#将压缩包分发各个节点
scp ./jdk-8u371-linux-x64.tar.gz ambari-hadoop2:/usr/java/
scp ./jdk-8u371-linux-x64.tar.gz ambari-hadoop3:/usr/java/
#各个节点执行解压缩命令
tar -zxvf jdk-8u371-linux-x64.tar.gz

配置jdk环境变量

# 编辑/etc/profile,文末插入以下内容:
# set java
export JAVA_HOME=/usr/java/jdk1.8.0_151
export PATH=$JAVA_HOME/bin:$PATH


#使环境变量生效
source /etc/profile

#安装验证
java -version

 

step7:在ambari-hadoop1节点上安装mysql5.7

1. 检查本地资源库中是否有mysql的rpm包
rpm -qa | grep mysql
# 删除相关rpm包
rpm -ev <rpm包名> --nodeps
2. 搭建mysql5.7的yum源
# 执行这一步命令,会下载 mysql5.7 的 rpm包
wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm
# 安装第一步下载的rpm文件,安装成功后,会在 /etc/yum.repos.d/ 目录下会增加两个文件
yum -y install mysql57-community-release-el7-11.noarch.rpm
# 查看mysql57的安装源是否可用,如不可用请自行修改配置文件(/etc/yum.repos.d/mysql-community.repo)使mysql57下面的enable=1
# 若有mysql其它版本的安装源可用,也请自行修改配置文件使其enable=0
yum repolist enabled | grep mysql
3. 安装mysql
yum install mysql-community-server

 启动并设置mysql

#启动mysql服务
[root@ambari-hadoop1 mysql]# service  mysqld start
Redirecting to /bin/systemctl start mysqld.service
#查看mysql服务状态
[root@ambari-hadoop1 mysql]# service  mysqld status
Redirecting to /bin/systemctl status mysqld.service
● mysqld.service - MySQL Server
   Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
   Active: active (running) since 二 2023-11-14 10:33:43 CST; 4s ago
     Docs: man:mysqld(8)
           http://dev.mysql.com/doc/refman/en/using-systemd.html
  Process: 2108 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid $MYSQLD_OPTS (code=exited, status=0/SUCCESS)
  Process: 2059 ExecStartPre=/usr/bin/mysqld_pre_systemd (code=exited, status=0/SUCCESS)
 Main PID: 2111 (mysqld)
   CGroup: /system.slice/mysqld.service
           └─2111 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid

11月 14 10:33:35 ambari-hadoop1 systemd[1]: Starting MySQL Server...
11月 14 10:33:43 ambari-hadoop1 systemd[1]: Started MySQL Server.
#设置mysql服务开机自启
[root@ambari-hadoop1 mysql]# service  mysqld enable
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
#设置mysql服务开机自启
[root@ambari-hadoop1 mysql]# systemctl enable mysqld
#获取root密码
[root@ambari-hadoop1 mysql]# cat /var/log/mysqld.log | grep password
2023-11-14T02:33:39.830185Z 1 [Note] A temporary password is generated for root@localhost: qsPnEu*ei3Vc
#登录mysql
[root@ambari-hadoop1 mysql]# mysql -uroot -pqsPnEu*ei3Vc
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.29

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
#设置稍简单密码
mysql> set password=password("Wangt@123");
Query OK, 0 rows affected, 1 warning (0.00 sec)
#降低密码强度要求
mysql> set global validate_password_length=4;
Query OK, 0 rows affected (0.00 sec)
#降低密码强度要求
mysql> set global validate_password_policy=0;
Query OK, 0 rows affected (0.00 sec)
#设置root的简单密码
mysql>  set password=password("123456");
Query OK, 0 rows affected, 1 warning (0.00 sec)
#切换至mysql库
mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
#设置root账号可以从任意IP地址登录
mysql> update user set host="%" where user="root";
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0
#刷新配置
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
#离开mysql
mysql> quit;
Bye
#查看mysql版本
[root@ambari-hadoop1 mysql]# mysql -V
mysql  Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using  EditLine wrapper

 step8:创建ambari用户并设置权限

[root@ambari-hadoop1 mysql]# mysql -uroot -p123456
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.29 MySQL Community Server (GPL)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
#创建名为 'ambari' 的用户,限定只能从本地主机连接,并设置密码为 'ambari'
mysql> CREATE USER 'ambari'@'localhost' IDENTIFIED BY 'ambari';
Query OK, 0 rows affected (0.00 sec)
#为 'ambari' 用户在本地主机授予所有数据库的全部权限
mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'localhost';
Query OK, 0 rows affected (0.00 sec)
#创建名为 'ambari' 的用户,允许从任何主机连接,并设置密码为 'ambari'
mysql> CREATE USER 'ambari'@'%' IDENTIFIED BY 'ambari';
Query OK, 0 rows affected (0.00 sec)
#为 'ambari' 用户在任何主机授予所有数据库的全部权限
mysql> GRANT ALL PRIVILEGES ON *.* TO 'ambari'@'%';
Query OK, 0 rows affected (0.00 sec)
#刷新配置
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

使用ambari用户创建ambari数据库

[root@ambari-hadoop1 mysql]# mysql -uambari -pambari
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.29 MySQL Community Server (GPL)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
#创建使用utf-8编码名为ambari的数据库
mysql> CREATE DATABASE ambari character set utf8 collate utf8_general_ci;
Query OK, 1 row affected (0.00 sec)

mysql> quit
Bye
[root@ambari-hadoop1 mysql]# 

step8:三节点之间设置时钟同步

三节点上均执行ntp安装命令:yum -y install ntp

修改ambari-hadoop1节点上的/etc/ntp.conf配置文件

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.

#nomodify: 禁止对本地系统进行时间修改。这确保了NTP服务器不能通过NTP协议更改本地系统的时间
#notrap: 阻止通过ntpdc工具的控制命令,以及通过ntpdc和ntpq工具的monlist查询命令
#授权所有192.168.10.101~192.168.10.255网段上的所有机器可以从这台机器上查询和同步时间
restrict 192.168.10.101 mask 255.255.255.0 nomodify notrap

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
#这一行表示允许来自本地回环接口(loopback interface)的访问。
restrict 127.0.0.1 
#这一行是 IPv6 地址的配置,它表示允许来自 IPv6 的本地回环接口的访问
restrict ::1

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst

#127.127.1.1 是 NTP 中的本地时钟源,通常被称为 "local clock"。
#这个地址表示本地系统的内部时钟,NTP 使用这个本地时钟源来保持时间同步,即使没有外部时钟源可用。
#iburst: 表示采用快速初始同步。当 NTP 服务启动时,会尝试快速同步时间
server 127.127.1.1 iburst

#broadcast 192.168.1.255 autokey	# broadcast server
#broadcastclient			# broadcast client
#broadcast 224.0.1.1 autokey		# multicast server
#multicastclient 224.0.1.1		# multicast client
#manycastserver 239.255.254.254		# manycast server
#manycastclient 239.255.254.254 autokey # manycast client

# Enable public key cryptography.
#crypto

includefile /etc/ntp/crypto/pw

# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography. 
keys /etc/ntp/keys

# Specify the key identifiers which are trusted.
#trustedkey 4 8 42

# Specify the key identifier to use with the ntpdc utility.
#requestkey 8

# Specify the key identifier to use with the ntpq utility.
#controlkey 8

# Enable writing of statistics records.
#statistics clockstats cryptostats loopstats peerstats

# Disable the monitoring facility to prevent amplification attacks using ntpdc
# monlist command when default restrict does not include the noquery flag. See
# CVE-2013-5211 for more details.
# Note: Monitoring will not be disabled with the limited restriction flag.
disable monitor

 修改ambari-hadoop2、ambari-hadoop3上的/etc/ntp.conf配置文件

# For more information about this file, see the man pages
# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

driftfile /var/lib/ntp/drift

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict 192.168.10.101  nomodify notrap  noquery

# Permit all access over the loopback interface.  This could
# be tightened as well, but to do so would effect some of
# the administrative functions.
restrict 127.0.0.1 
restrict ::1

# Hosts on local network are less restricted.
#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#server 0.centos.pool.ntp.org iburst
#server 1.centos.pool.ntp.org iburst
#server 2.centos.pool.ntp.org iburst
#server 3.centos.pool.ntp.org iburst

server 192.168.10.101 iburst
#broadcast 192.168.1.255 autokey	# broadcast server
#broadcastclient			# broadcast client
#broadcast 224.0.1.1 autokey		# multicast server
#multicastclient 224.0.1.1		# multicast client
#manycastserver 239.255.254.254		# manycast server
#manycastclient 239.255.254.254 autokey # manycast client

# Enable public key cryptography.
#crypto

includefile /etc/ntp/crypto/pw

# Key file containing the keys and key identifiers used when operating
# with symmetric key cryptography. 
keys /etc/ntp/keys

# Specify the key identifiers which are trusted.
#trustedkey 4 8 42

# Specify the key identifier to use with the ntpdc utility.
#requestkey 8

# Specify the key identifier to use with the ntpq utility.
#controlkey 8

# Enable writing of statistics records.
#statistics clockstats cryptostats loopstats peerstats

# Disable the monitoring facility to prevent amplification attacks using ntpdc
# monlist command when default restrict does not include the noquery flag. See
# CVE-2013-5211 for more details.
# Note: Monitoring will not be disabled with the limited restriction flag.
disable monitor

每个节点上均执行ntp服务启动和自启命令

[root@ambari-hadoop1 etc]# service ntpd start 
Redirecting to /bin/systemctl start ntpd.service
[root@ambari-hadoop1 etc]# service ntpd status
Redirecting to /bin/systemctl status ntpd.service
● ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled; vendor preset: disabled)
   Active: active (running) since 二 2023-11-14 16:32:59 CST; 4s ago
  Process: 12267 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 12268 (ntpd)
   CGroup: /system.slice/ntpd.service
           └─12268 /usr/sbin/ntpd -u ntp:ntp -g

11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listen and drop on 1 v6wildcard :: UDP 123
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listen normally on 2 lo 127.0.0.1 UDP 123
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listen normally on 3 ens33 192.168.10.101 UDP 123
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listen normally on 4 lo ::1 UDP 123
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listen normally on 5 ens33 fe80::9d70:dc84:5...23
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: Listening on routing socket on fd #22 for in...es
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: 0.0.0.0 c016 06 restart
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: 0.0.0.0 c012 02 freq_set kernel 0.000 PPM
11月 14 16:32:59 ambari-hadoop1 ntpd[12268]: 0.0.0.0 c011 01 freq_not_set
11月 14 16:33:00 ambari-hadoop1 ntpd[12268]: 0.0.0.0 c514 04 freq_mode
Hint: Some lines were ellipsized, use -l to show in full.
#设置ntp开机自启
[root@ambari-hadoop1 etc]# systemctl enable ntpd.service

step9:安装httpd和wget服务

ambari-hadoop1节点执行

# 安装httpd
yum -y install httpd.x86_64
systemctl enable httpd.service
systemctl start httpd.service
# 安装wget
yum -y install wget

 将以下压缩包上传至/var/www/html

将上述压缩包全部解压至当前目录 

新建ambari.repo文件,将文件放入/etc/yum.repos.d/目录下

[ambari]
name=ambari
baseurl=http://ambari-hadoop1/ambari/centos7/2.7.5.0-72
enabled=1
gpgcheck=0

step10:主节点安装ambari-server

ambari-hadoop1执行

yum -y install ambari-server

将mysql-connector-java.jar拷贝到/usr/share/java目录下

修改配置文件 

echo server.jdbc.driver.path=/usr/share/java/mysql-connector-java.jar >> /etc/ambari-server/conf/ambari.properties

安装ambari-server

ambari-server setup

 设置amabri安装驱动设置

ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar

step11:初始化数据库

[root@ambari-hadoop1 yum.repos.d]# mysql -uambari -pambari
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.29 MySQL Community Server (GPL)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> use ambari;
Database changed
mysql> source /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql

启动ambari-server服务

ambari-server start

可能遇到的问题

启动失败,查看日志

 Caused by: java.sql.SQLException: null,  message from server: "Host '192.168.10.101' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'"

 set global max_connect_errors=1000;调大链接数

重启还是报错:Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)

找到ambari配置文件并进行修改

[root@ambari-hadoop1 etc]# sudo find / -type f -name ambari.properties
/etc/ambari-server/conf/ambari.properties
[root@ambari-hadoop1 etc]# vim /etc/ambari-server/conf/ambari.properties 

 OK,重新启动又遇到新问题Caused by: java.sql.SQLException: Access denied for user 'ambari'@'ambari-hadoop1' (using password: YES)

 可能用户密码不正确,找到密码存储位置

重新启动,访问http://ambari-hadoop1:8080/#/login,输入初始账号admin密码admin

 利用ambari web部署HDP

step1:设置集群名称 

 step2:select version

步骤由于压缩包版本为HDP-3.1.5

所以需要更改安装版本

 在/var/www/html/HDP/centos7/3.1.5.0-152路径下查找到3.1.5版本的配置文件,将该文件下载到本机windows然后再“选择文件”,将配置文件上传

 然后配置HDP、HDP-UTILSB本地源信息

step3 Install Options

私钥所在位置~/.ssh/id_rsa

step4: Confirm Hosts

step5 Choose service

这步骤主要选择所需组件进行安装

step6:Assign Masters

 规划各个节点所承担的组件服务,由于虚拟机内存有限只能雨露均沾减少压力,大家可根据实际情况自行分配

step7: Assign Slaves and Clients

主要用于分配各个组件的从服务和客户端,例如nodemanager(根据实际情况配置)

密码用户自行定义(我这里由于本地环境,简单易记都是12345678)

创建oozie数据库和oozie用户

mysql> CREATE USER 'oozie'@'%' IDENTIFIED BY '123456';
Query OK, 0 rows affected (0.01 sec)

mysql> GRANT ALL PRIVILEGES ON oozie.* TO 'oozie'@'%';
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> CREATE DATABASE oozie character set utf8 collate utf8_general_ci; 

配置各组件需要使用的数据库连接信息

superset数据库类型选择mysql

oozie也同样选择mysql数据库类型

配置完数据库连接信息后,需要点击”TEST CONNECTION“ 按钮测试连接

接下来主要配置各组件一些 数据存放路径(这里我保持不变默认,可自行更改)

下一页面显示一些组件用户信息(这里我同样默认不做修改)

 最后一页面就是各组件详细的配置内容了(我这里默认不做变更)

注意有些组件密码又强制要求,可以点击定位问题:

 右侧问题提示图标中的问题都解决完成后,可以NEXT下一步

注意:我在测试数据库连接时,需要以下问题:

Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

 然后我选择关闭mysql数据库的SSL,在/etc/my.cnf中添加一行“skip_ssl”

 重启mysql服务后,查询SSL验证是否关闭,成功关闭disable

再次验证,测试连接成功:

         根据MySQL 5.5.45+、5.6.26+和5.7.6+的要求,如果不设置显式选项,则必须建立默认的SSL连接。需要通过设置useSSL=false来显式禁用SSL,或者设置useSSL=true并为服务器证书验证提供信任存储。因为我是本机虚拟机测试环境,所以选择关闭SSL验证,但是实际生产环境中可以选择降低mysql版本或者其他方式,在不关闭服务器SSL验证的情况下解决该问题。       

        在最后一步安装过程中,安装 Grafana Install中遇到“RuntimeError: Failed to execute command '/usr/bin/yum -y install ambari-metrics-monitor', exited with code '1', message: 'http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/cpp-4.8.5-44.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirrors.ustc.edu.cn; Unknown error”问题

        看起来应该是通过"http://mirrors.ustc.edu.cn/centos/7.9.2009/os/x86_64/Packages/cpp-4.8.5-44.el7.x86_64.rpm"这个url去获取安装包,但是遇到了关于host:mirrors.ustc.edu.cn的未知错误,首先ambari-hadoop1节点能够ping通mirrors.ustc.edu.cn,并且URL能正常访问,问题可能是网络波动,那再尝试点击右上角retry按钮

 经过一段时间等待后,安装完成但是还是出现了一些警告,点击警告查看具体告警信息


但是由于不能再点击retry了,所以只能next下一步了 安装服务组件成功后,仍然有许多警告,后续手动启动失败服务并一个个解决

详细见我另一篇博客:ambari 服务组件报错解决-CSDN博客

Ambari 安装部署教程(手把手教学)【超级详细】 本文为读者提供了一套超详细的 Apache Ambari 安装部署教程,采用手把手教学方式,适合初学者及大数据运维人员。内容涵盖前期准备、环境配置、Ambari Server 与 Agent 安装、集群初始化配置、常见问题排查等全流程操作,确保用户能够顺利搭建稳定的 Hadoop 大数据平台管理系统。 阅读详情

相关推荐

HDP3.1.5.0+Ambari2.7.5安装部署(Centos7.2)所需的三台Ambari镜像

HDP3.1.5.0+Ambari2.7.5安装部署(Centos7.2)所需的三台Ambari镜像

ambari 安装及使用ambari安装hadoop记录

Apache Ambari是一种基于Web的工具,支持Apache Hadoop集群的供应、管理和监控。Ambari已支持大多数Hadoop组件,包括HDFS、MapReduce、Hive、Pig、 Hbase、Zookeeper、Sqoop和Hcatalog等。Apache Ambari 支持HDFS、MapReduce、Hive、Pig、Hbase、Zookeepr、Sqoop和Hcatalog等的集中管理。也是5个顶级hadoop管理工具之一。百度百科-验证。

yujianbujianqwe的博客 3069

ambari安装

详细ambari安装文档

Ambari简介&安装

简介 Apache Ambari是一种基于Web的工具,支持Apache Hadoop集群的供应、管理和监控。Ambari目前已支持大多数Hadoop组件,包括HDFS、MapReduce、Hive、Pig、 Hbase、Zookeper、Sqoop和Hcatalog等。 Apache Ambari 支持HDFS、MapReduce、Hive、Pig、Hbase、Zookeper、Sqoop和Hcatalog等的集中管理。也是5个顶级hadoop管理工具之一。 就 Ambari 的作用来说,就是创建、管理、

月苍的博客 3555

FastAPI + Layui:打造企业级敏捷开发后台管理系统

本文详细介绍了如何使用FastAPI和Layui构建高效的企业级后台管理系统。FastAPI提供高性能的异步API支持,而Layui则简化了前端开发流程,两者结合可实现快速开发和部署。文章涵盖了从环境搭建、核心组件开发到性能优化的全流程,特别适合需要敏捷开发的企业项目。

weixin_29045585的博客 557

保姆级教程:从WOS下载文献到Citespace出图,手把手搞定科研可视化(附避坑指南)

本文提供从WOS下载文献到Citespace出图的完整科研可视化指南,涵盖数据采集、清洗、环境配置和可视化优化全流程。特别分享WOS检索技巧、数据清洗方法和Citespace参数设置,帮助科研新手高效生成专业图谱,避开常见技术陷阱。

weixin_29311017的博客 174

Amabri 2.1 安装HDP2.3.2 之 四、安装ambari

四、安装amabri 在五 2 (5)那一步,我选择的是非默认的mysql数据库,所以需要提前做些安排。当然,你可以选择默认的PostgreSQL 数据库。 1.查看下现有的资源库配置信息: # yum repolist 会出现和以下相近的信息: 2.开始安装amabri-server : # yum install ambari-server 安装过程终端会输...

qq_38799155的博客 335

从理论到实践:基于Zemax的高分辨率生物显微镜光学系统仿真与优化指南

本文详细介绍了基于Zemax的高分辨率生物显微镜光学系统仿真与优化全流程。从阿贝分辨率公式、柯勒照明等理论基础出发,逐步讲解Zemax建模、像差优化、制造可行性分析等核心步骤,并提供常见问题解决方案。通过实际案例展示如何将理论设计转化为可制造的优化方案,帮助工程师掌握从仿真到实际应用的关键技术。

weixin_29229989的博客 492

Ambari 2.1 安装HDP2.3.2 之 四、安装ambari

四、安装amabri在五 2 (5)那一步,我选择的是非默认的mysql数据库,所以需要提前做些安排。当然,你可以选择默认的PostgreSQL 数据库。1.查看下现有的资源库配置信息:# yum repolist 会出现和以下相近的信息。 2.开始安装amabri-server :# yum install ambari-server安装过程终端会输出以下信息,最后提示安装完成。下面请见 五、配

最熟悉的陌生人 3082

详解YOLOv8网络结构/环境搭建/数据集获取/训练/推理/验证/导出/部署

YOLO(You Only Look Once)系列算法因其高效、准确等特点而备受瞩目。由2023年Ultralytics公司发布了YOLO的最新版本YOLOv8是结合前几代YOLO的基础上的一个融合改进版。本文YOLOv8网络结构/环境搭建/数据集获取/训练/推理/验证/导出/部署,从网络结构的讲解从模型的网络结构讲解到模型的部署都有详细介绍,同时在本专栏中还包括YOLOv8模型系列的改进包括个人提出的创新点,传统卷积、注意力机制、损失函数的修改教程,能够帮助你的论文获得创新点。

Snu77的博客 8万+

在虚拟机中对阿克曼转向车进行导航及避障的仿真测试

一、    在我使用rosdep install teb_local_planner去安装teb_local_planner的时候,报错:Command ‘rosdep’ not found, but can be installed with:sudo apt install python3-rosdep2    我花大半个月好不容易建立起的一系列ROS环境,被python3-rosdep2这条万恶的语句连同ROS一起给我删了。。。悲伤来的那么猝不及防    随着ROS版本的迭代,相关资料很多都不再适用

慕羽★的博客 3811

Amabri离线安装

Amabri离线安装文档 (离线在于,ambari的下载文件已经下载好) 前置条件 1、 JDK 1.7+ 2、 python 2.6 /2.7 CentOS 自带2.7 3、 mysql (详见脚本 installmysql.sh) 3.1执行脚本前需要 dos2unix 脚本( dos2unix installmysql.sh ) 4、 准备3+台主机 安装好JDK,配好环境变量

puhl5的博客 2491

paddle 43 用onnxruntime实现ppyoloe模型的部署(含python和c++版本)

PP-YOLOE+是PP-YOLOE模型的升级版,PP-YOLOE+_l在COCO test-dev2017达到了53.3的mAP, 同时其速度在Tesla V100上达到了78.1 FPS。PP-YOLOE+_s/m/x同样具有卓越的精度速度性价比。paddle官方只给出了基于paddle框架的部署案例,为了更好的部署,为此实现将paddle模型转换为onnx模型,然后在python下实现onnxruntime部署。后续会补充c++ onnxruntime部署

a486259的博客 1919

Amabri安装HDP Hadoop集群

简介 Ambari作为Apache的顶级项目,是一个基于Web的工具,主要用来创建、管理、监控Hadoop集群。 HDP(Hortonworks Data Platform)是Hortonworks开源的数据平台,几乎包含了Hadoop生态系统中的所有项目,如HDFS、MapReduce、Hive、HBase、Pig、Oozie等等。 本文总结Ambari的基本原理,并在...

王佩的CSDN博客 7644

innovus:set_clock_latency与insertion_delay

当1ns clock latency设置在capture上,在report_timing报告中体现在other end arrival time以及capture clock path的Arrival Time上。因为-1ns的insertion delay存在,所以skew group报告中显示的Arrival (ns)是减1ns的结果,即1.819-1=0.819 ns。CTS阶段create_ccopt_clock_tree_spec之后,spec中会产生对应的insertion_delay命令。

m0_61544122的博客 1632

基于STM32L4XX、HAL库的Ra-01SC-P LoRa模块驱动程序设计

0x22) { // SX1276/SX1278版本号。// 发射功率(2-20)// 工作频率(Hz)// 编码率(5-8)

zhusl6688的博客 437

Amabri安装前的准备工作

Ambari这个东东对操作系统的要求还是很高的,首先限制了要使用CentOS,RHEL,并且还是64bit 的,让我的Ubuntu泪奔啊~~~手头正好有RHEL6.x的盘,于是就用红帽吧。但是红帽是收费的,所以yum源是需要更改一下的。其他的杂七杂八还有一些设置,我就以列表的方式记下来吧。 1 关闭防火墙。selinux,iptables通通关闭。 1: set...

a8331387的博客 194

visio安装包

Microsoft Office Visio 是一款专业的制图软件。利用经过更新的形状、协作工具和数据链接图表,创建专业级图表以简化复杂的信息。

Amabri 2.7.3 集群安装部署

注:以下所有操作都是用root权限! 一、卸载自带jdk - 所有机器 (1)查看自带JDk版本 rpm -qa|grep java (2)卸载自带JDK rpm -e --nodeps java-1.8.0-openjdk-headless-1.8.0.161-0.b14.el7_4.x86_64 rpm -e --nodeps java-1.8.0-openjdk-1.8.0.161-0.b......

csmnjk的专栏 473

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

hdp amabri mysql_Ambari 安装配置 MySql

在安装Ambari时,Ambari默认的数据库是ProstgreSQL,对ProstgreSQL不太熟悉,选择使用MySql。但Centos 7 默认支持的是MariaDB数据库. MariaDB是MySQL的一个分支,主要由开源社区在维护。安装过程中先将Centos7默认安装的MariaDB数据库删除,再重新安装MySql.安装步骤:软件下载 (mysql的rpm包有很多文件,只需要安装Se...

weixin_28822657的博客 180

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

Amabri2.6.0、hdp2.6.1安装

Amabri2.6.0、hdp2.6.1在centos7下安装 一、环境准备 1、修改各个节点主机名 vi /etc/hostname 2、配置主节点hosts vi /etc/hosts 2、配置免密 (1)手动配置 主节点执行: ssh-keygen -t rsa ssh-copy-id $host(第1步中的各个节点名称) (2)脚本配置 3、同步hosts 主节点...

ukakasu的博客 918

hdp amabri mysql_MySQL数据库之Ambari 安装配置 MySql

本文主要向大家介绍了MySQL数据库之Ambari 安装配置 MySql ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。在安装Ambari时,Ambari默认的数据库是ProstgreSQL,对ProstgreSQL不太熟悉,选择使用MySql。但Centos7默认支持的是MariaDB数据库.MariaDB是MySQL的一个分支,主要由开源社区在维护。安装过程中先将...

weixin_34288514的博客 99

dbeaver连接amabri-hbase

dbeaver 集成ambari-hbase过程中遇到的问题

qq_44540985的博客 2067

Amabri 2.1安装HDP2.3.2 之 三、开始配置基本环境

三、开始配置基本环境 1.配置 SSH 1)在Ambari Server host执行下列语句,一路回车,生成公钥和私钥。 # ssh-keygen -t rsa 2). 将公钥文件(id_rsa.pub)追加到 authorized_keys. # cat ~/.ssh.id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys # chmod 6...

qq_38799155的博客 474

卸载amabri和hdp

2019独角兽企业重金招聘Python工程师标准>>> ...

weixin_33747129的博客 260
上一篇: ambari 服务组件报错解决
下一篇: Error while compiling statement: FAILED: SemanticException Line 1:17 Invalid path
dogplays
博客等级 码龄8年 123粉丝 64原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址