Ted Dunning wrote:
Take the fully qualified HDFS path that looks like this:hdfs://namenode-host-name:port/file-path And transform it into this: hdfs://namenode-host-name:web-interface-port/data/file-path The web-interface-port is 50070 by default. This will allow you to read HDFS files via HTTP.
Also, starting in release 0.18.0, Java programs can use "hdfs:" URLs. For example, one can create a URLClassLoader for a jar stored in HDFS.
Doug
