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.

see http://wiki.apache.org/hadoop/hdfs-apis


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -