* refernce code from
   - http://randomlydistributed.blogspot.tw/2011/12/webhdfs-py-simple-lean-hdfs-python.html
   - webhdfs-py must be installed