fix type in hadoop docs and expand example