#!/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