add hadoop directory tree.