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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -