build hadoop, spark, hbase cluster
1,something:
1,arc land
506 git branch
507 git status
508 git reset multicloud/qcloud/cluster_management/spark_cluster/dependent_file/spark-1.6.2-bin-hadoop2.6.tgz
509 git status
510 git add multicloud/qcloud/tools/ssh.py
511 git status
512 git log
513 git commit -a
514 git status
515 git log
516 git pull --rebase origin master
517 git log
518 arc diff
519 arc diff
520 history
git checkout -b test1
432 git status
433 git branch
434 ls
435 cd core/
436 ls
437 cd ..
438 cd multicloud/
439 ls
440 cd qcloud/
441 ls
442 cd ..
443 cd ..
444 ls
445 ls multicloud/qcloud/spark_cluster/README.md
446 vim multicloud/qcloud/spark_cluster/README.md
447 git branch
448 git status
449 git commit -a 'test1'
450 git commit -a
451 git log
452 clear
453 git pull --rebase origin master
454 arc diff
455 pwd
456 arc help
457 source ~/.bashrc
458 arc
459 arc help
460 ls ~/.bashrc
461 arc diff
462 arc diff
463 arc land
2,ssh aliyun
ssh -i aliyun.pem root@101.201.233.28
chmod 600 aliyun.pem
3,ssh免密码登录
(1)
ssh-keygen -t rsa
scp -i ~/aliyun.pem id_rsa.pub root@172.17.148.92:~/.ssh
(2)in 172.17.148.92
cat id_rsa.pub >> authorized_keys
chmod 600 authorized_keys
http://blog.csdn.net/m15851813962/article/details/53150967
4,docker
docker exec -it ssss /bin/bash
5, scp:
scp -i ~/work/keys/alicloud.pem * hadoopmaster:/root
6, firewall
systemctl stop firewalld
7,auto build command
spark:
python auto_build_spark.py -f /Users/chunyueli/work/github/infra/multicloud/qcloud/cluster_management/spark_cluster/dev_conf/alicloud_dev_spark_cluster_conf.json -k /Users/chunyueli/work/keys/alicloud.pem -F /Users/chunyueli/work/github/infra/multicloud/qcloud/cluster_management/spark_cluster/restart_qcloud_cluster.py -i 114.240.80.157 -a restart
hadoop
python auto_build_hadoop.py -f /Users/chunyueli/work/github/infra/multicloud/qcloud/cluster_management/spark_cluster/dev_conf/alicloud_dev_hadoop_cluster_conf.json -k /Users/chunyueli/work/keys/alicloud.pem -F /Users/chunyueli/work/github/infra/multicloud/qcloud/cluster_management/spark_cluster/restart_qcloud_cluster.py -i 114.240.85.26
8, docker command
最新文章
- beaglebone black 固定IP上网(ubuntu16.04,console)
- python Django session/cookie
- 【故障处理】ORA-28040: No matching authentication protocol
- 中科院Oracle 10G 数据库系统培训视频教程(828MB )
- apache配置多个虚拟主机
- JavaSE复习_3 继承
- c++普通高精除单精
- android开发 WriteUTF与readUTF 原理
- MySQL excel导入错误 Out of range value adjusted for column
- 对JAVA动态代理的理解
- [转] Creating a Simple RESTful Web App with Node.js, Express, and MongoDB
- 网上下载的“上下3D”和“左右3D”影片该如何播放?
- LeanCloud 调研报告
- 微信小程序实现滚动加载更多
- MYSQL——数据库存储引擎!
- SpringBoot+Thymeleaf问题
- Python3 open函数
- [Docker]如何批量删除镜像
- 【转】WPF自定义控件与样式(10)-进度控件ProcessBar自定义样
- nginx的ip_hash负载均衡配置