MRK
MRK

Reputation: 573

how to read a file from HDFS through browser

How to provide a link a HDFS file, so that clicking on that url it will downlaod the HDFS file..

Please provide me the inputs..

Thanks MRK

Upvotes: 5

Views: 13729

Answers (3)

Romain
Romain

Reputation: 7082

There is the Hue File Browser: upload/download files, list directories, change permissions, view directly different types of file... from any client with a Web Browser

Upvotes: 0

Animesh Raj Jha
Animesh Raj Jha

Reputation: 2724

If you have hue installed in your cluster you could try

http://www.namenode:8888/filebrowser

or they also have standard chrome extension at this link that will basically covert the hdfs link for you

http://wiki.pentaho.com/display/BAD/Simple+Chrome+Extension+to+browse+HDFS+volumes

Upvotes: 3

Praveen Sripati
Praveen Sripati

Reputation: 33495

Check the HDFS Proxy Guide.

There is also Hoop which is being contributed to Hadoop by Cloudera. Currently it's targeted for the 0.24 release. But, it can be build, installed and configured manually using the instructions at the Hoop Site.

While HDFS Proxy supports only W, HOOP supports R/W to HDFS. Plan is to replace HDFS Proxy with Hoop.

While the above options are proxy based, another option is to to directly access the NameNode without a proxy. Browse the file system (http://namenode:50070/nn_browsedfscontent.jsp) and go to the file for which the URL has to be shared.

Edit: Also check WebHDFS.

Upvotes: 3

Related Questions