Use hostname attribute.
Add a new hadoop env for full distribute environment.