Fix hadoop shell:
- Add hadoop bin dir to env
- Guard against exit failure