计划部署的集群结构为一台 namenode, 4 台 datanode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PPP_TIMEOUT=30 | |
L2TPD_TIMEOUT=5 | |
L2TPD_CONTROL_FILE=/var/run/xl2tpd/l2tp-control | |
VPN_ACCOUNT=zjuvpn | |
function start_xl2tpd | |
{ | |
systemctl start xl2tpd |
解压并移动到 /hadoop/hbase
解压:
需要依赖 hadoop 生态圈的多种服务:
解压:
解压Sqoop:
$ tar -zvxf sqoop-1.4.6.bin__hadoop-2.0.4-alpha.tar.gz
$ mv sqoop-1.4.6.bin__hadoop-2.0.4-alpha /hadoop/sqoop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
启动集群 | |
--------- | |
启动 hadoop 相关服务 | |
============== | |
### 启动 hadoop | |
```bash | |
start-dfs.sh |
OlderNewer