#!/bin/sh
. ~/.bash_profile
HADOOP_HOME=$HADOOP_HOME
for slavenode in `cat $HADOOP_HOME/conf/slaves`
do
if [ "$slavenode" != "" ]; then
echo $slavenode
scp $HADOOP_HOME/conf/* $slavenode:$HADOOP_HOME/conf/
fi
done