Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bluishglc/emr-edgenode-maker
This tool can easily make / build an emr cluster edge node / client node / gateway node
https://github.com/bluishglc/emr-edgenode-maker
client edgenode emr gateway
Last synced: 5 days ago
JSON representation
This tool can easily make / build an emr cluster edge node / client node / gateway node
- Host: GitHub
- URL: https://github.com/bluishglc/emr-edgenode-maker
- Owner: bluishglc
- Created: 2020-09-09T03:34:07.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-01T05:41:51.000Z (over 2 years ago)
- Last Synced: 2024-08-02T14:09:53.549Z (3 months ago)
- Topics: client, edgenode, emr, gateway
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 9
- Watchers: 1
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 脚本使用方法**关于该脚本的详细介绍,请参考作者博客文章:[如何制作一个AWS EMR客户端节点( Client Node / Edge Node / Gateway Node )](https://laurence.blog.csdn.net/article/details/108529087)**
检出后需要先给shell文件`make-emr-edge-node.sh`添加可执行属性:
```bash
chmod a+x make-emr-edge-node.sh
```然后可以通过help选项查看使用方式:
```bash
sudo ./make-emr-edge-node.sh help================== [ MAKE EMR EDGE NODE SCRIPTS ] USAGE ==================
# 说明:初始化(只需执行一次), 安装基础软件包,emr基础app, 配置emr repo, 创建hadoop用户, 创建必要文件夹
./make-emr-edge-node.sh init [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作hadoop客户端
./make-emr-edge-node.sh make-hadoop-client [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作spark客户端
./make-emr-edge-node.sh make-spark-client [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作hive客户端
./make-emr-edge-node.sh make-hive-client [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作hbase客户端
./make-emr-edge-node.sh make-hbase-client [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作oozie客户端
./make-emr-edge-node.sh make-oozie-client [PEM_FILE_PATH] [MASTER_NODE_IP]# 说明:制作hudi客户端
./make-emr-edge-node.sh make-hudi-client# 说明:制作sqoop客户端
./make-emr-edge-node.sh make-sqoop-client```
关于脚本的使用方式,如下几点需要注意:
1. 由于脚本中大量操作需要使用root权限,所以必须以root用户或sudo方式运行脚本,否则脚本会给出错误提示
2. 命令行中只涉及两个参数:
- [PEM_FILE_PATH] :你的AWS账号的PEM文件,执行脚本需要使用该秘钥文件登入Master节点拷贝配置文件;
- [MASTER_NODE_IP]:你的Master节点IP或域名
3. 在执行`make-*-client`操作前,需要先执行`init`操作(仅一次即可)