`

HBase 自动安装shell脚本

阅读更多
#!/usr/bin/env bash
#greatwqs for install hbase environment.
for ip in $(cat /home/hadoop/hbase-current/conf/regionservers); 
  do scp -r /home/hadoop/hbase-version $ip:~/;  
  ssh $ip "ln -s /home/hadoop/hbase-version/hbase-0.90.3-cdh3u1 hbase-current" ; 
done

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics