Re: HDFS interface

2008-03-12 Thread Hairong Kuang
If you add the configuration directory to the class path, the configuration files will be automatically loaded. Hairong On 3/12/08 5:32 PM, "Cagdas Gerede" <[EMAIL PROTECTED]> wrote: > I found the solution. Please let me know if you have a better idea. > > I added the following addResource li

Re: HDFS interface

2008-03-12 Thread Cagdas Gerede
I found the solution. Please let me know if you have a better idea. I added the following addResource lines. Configuration conf = new Configuration(); conf.addResource(new Path("location_of_hadoop-default.xml")); conf.addResource(new Path("location_of_hadoop-site.xml")); FileSy

Re: HDFS interface

2008-03-12 Thread Cagdas Gerede
I see the following paragraphs in the wiki ( http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample) >Create a [image: [WWW]] FileSysteminstance by passing a new Config

Re: HDFS interface

2008-03-12 Thread Eddie C
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" <[

Re: HDFS interface

2008-03-12 Thread Hairong Kuang
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 com

Re: HDFS interface

2008-03-12 Thread Arun C Murthy
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 ther

Re: HDFS interface

2008-03-12 Thread Cagdas Gerede
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/apac

RE: HDFS interface

2008-03-11 Thread dhruba Borthakur
HDFS can be accessed using the FileSystem API http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/fs/File System.html The HDFS Namenode protocol can be found in http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/dfs/Nam eNode.html thanks, dhruba -Original Messag

Re: HDFS interface

2008-03-11 Thread Pete Wyckoff
Hi Naama, This JIRA is tracking both the fuse and webdav efforts: https://issues.apache.org/jira/browse/HADOOP-4 -- pete On 3/10/08 11:17 PM, "Naama Kraus" <[EMAIL PROTECTED]> wrote: > Hi, > > I'd be interested in information about interfaces to HDFS other then the > DFSShell commands. I've