FLUME_CLASSPATH=/root/flume/lib/
copied comon jar files from hadoop folder to the flume folder.
cp /root/hadoop/share/hadoop/common/*.jar /root/flume/lib
cp /root/hadoop/share/hadoop/common/lib/*.jar /root/flume/lib