Fix #36: use HDFS_URL directly instead of os.getenv

Author: Ernest <earneyzxl@gmail.com>

Closes #37 from Earne/issues-36 and squashes the following commits:

4dccc1f [Ernest] Fix #36 use HDFS_URL directly instead of os.getenv