Hi,

If I may take the question a step further. Can we access HDFS from a web
application running on Tomcat? Let's assume that Tomcat is running on the
Namenode for simplicity sake.


Shahfik Amasha


On Wed, Nov 4, 2009 at 8:35 PM, Huy Phan <[email protected]> wrote:

> The answer is yes.
> You can check the FileSystem API at this page :
>
> http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/fs/FileSystem.html
> Another material for you:
> http://myjavanotebook.blogspot.com/2008/05/hadoop-file-system-tutorial.html
>
> On Wed, Nov 4, 2009 at 6:33 PM, Mohan Agarwal <[email protected]
> >wrote:
>
> > Hi,
> >    Can we access the file located on hdfs using java ?
> >
> > Thanking You
> > Mohan Agarwal
> >
>

Reply via email to