I used this code like this inside of a tomcat web application. It works. Shared webserver filesystem :)
On Wed, Mar 12, 2008 at 4:50 PM, Hairong Kuang <[EMAIL PROTECTED]> wrote: > http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample > > Hairong > > > > > On 3/12/08 1:21 PM, "Arun C Murthy" <[EMAIL PROTECTED]> wrote: > > > > > http://hadoop.apache.org/core/docs/r0.16.0/hdfs_user_guide.html > > > > Arun > > > > On Mar 12, 2008, at 1:16 PM, Cagdas Gerede wrote: > > > >> I would like to use HDFS component of Hadoop but not interested in > >> MapReduce. > >> All the Hadoop examples I have seen so far uses MapReduce classes > >> and from > >> these examples there is no reference to HDFS classes including File > >> System > >> API of Hadoop (http://hadoop.apache.org/core/docs/current/api/org/ > >> apache/hadoop/fs/FileSystem.html > >> )<http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/ > >> fs/FileSystem.html> > >> Everything seems to happen under the hood. > >> > >> I was wondering if there is any example source code that is using HDFS > >> directly. > >> > >> > >> Thanks, > >> > >> - CEG > > > >