automate the hadoop installation process.
fixed another minor bug.