added hadoop as a dependency
removed warnings.