hadoop - How to read a file from HDFS in a non-Java client -
so mr job generates report file, , file needs able downloaded end-user needs click button on normal web reporting interface, , have download output. according this o'reilly book excerpt, there http read-only interface. says it's xml based, seems it's normal web interface intended viewed through web browser, not can programatically queried, listed, , downloaded. recourse write own servlet based interface? or execute hadoop cli tool?
the way access hdfs programmatically other java using trift. there pre-generated client classes several languages (java, python, php, ...) included in hdfs source tree.
Comments
Post a Comment