大数据集群操作脚本案例
Zookeeper启停脚本1234567891011121314151617181920212223#! /bin/bashcase $1 in"start"){ for i in hadoop102 hadoop103 hadoop104 do ssh $i "/opt/module/zookeeper-3.4.10/bin/zkServer.sh start" done};;"stop"){ for i in hadoop102 hadoop103 hadoop104 do ssh $i "/opt/module/zookeeper-3.4.10/bin/zkServer.sh stop" done};;"status"){ for i in hadoop102 hadoop103 hadoop104 do ssh $i "/opt/module/zookeeper-3.4.10/bin/zkServer.sh sta ...
git push时403,解决思路与方法
用命令行git push代码的时候突然出现了这样的报错:
123remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.fatal: unable to access 'https://github.com/szj2ys/funlp.git/': The requested URL returned error: 403
反复试了多次,检查网络是正常的,奇怪的是前几分钟我还成功向远程push过代码,怎么突然就不行了呢?
哪里出问题,就从哪里找原因,报错信息通常会给我们指出错误原因和解决途径。那我们就看下报错信息,已经告 ...