Re: HDFS on 0.20.203

2011-09-01 Thread Arko Provo Mukherjee
Hi, Thanks much! It worked for both 0.20.203.0 and 0.21.0! I am using Eclipse IDE. I tried once to use the plugin but it didn't work :( Thanks & Regards Arko On Fri, Sep 2, 2011 at 12:21 AM, Sudharsan Sampath wrote: > Hi, > > Import o.a.h.conf . Also, if possible try and use an IDE so that

Re: HDFS on 0.20.203

2011-09-01 Thread Arko Provo Mukherjee
Hi, Many thanks for your kind reply. I switched to 0.203.0 as per the advice of Arun Murthy. Also I replaced import org.apache.hadoop.*; by importorg.apache.hadoop.fs.*; as per the advice of Sudharsan. Now I get just one error: FileTest.java:19: cannot find symbol symbol : class Configuration

Re: HDFS on 0.20.203

2011-09-01 Thread Sudharsan Sampath
Hi, Some of your imports are incorrect. Both FileSystem and Path classes are present in o.a.h.fs Thanks Sudhan S On Thu, Sep 1, 2011 at 8:22 PM, Arko Provo Mukherjee < arkoprovomukher...@gmail.com> wrote: > Hi, > > My code looks like this: > > *import java.util.*;* > > *import java.lang.*;* > >

Re: Problems compiling HDFS FUSE on hadoop-0.20.203.0

2011-09-01 Thread Charles Earl
I was afraid you would say that. Yes, I will open jira. Charles On Sep 1, 2011, at 2:58 PM, Arun C Murthy wrote: > Charles, can you please open a jira? > > http://wiki.apache.org/hadoop/HowToContribute > > thanks, > Arun > > PS: We'd love a patch too! :) > > > On Sep 1, 2011, at 9:07 AM, Ch

Re: Problems compiling HDFS FUSE on hadoop-0.20.203.0

2011-09-01 Thread Arun C Murthy
Charles, can you please open a jira? http://wiki.apache.org/hadoop/HowToContribute thanks, Arun PS: We'd love a patch too! :) On Sep 1, 2011, at 9:07 AM, Charles Earl wrote: > Hi, > I noted there was a similar thread, it does not look as though it was > resolved, but I am still getting the e

Problems compiling HDFS FUSE on hadoop-0.20.203.0

2011-09-01 Thread Charles Earl
Hi, I noted there was a similar thread, it does not look as though it was resolved, but I am still getting the errors that were described. Is there any patch that will address this? Instructions at http://wiki.apache.org/hadoop/MountableHDFS followed $ ant compile-contrib -Dlibhdfs=1 -Dfusedfs=1

Re: HDFS on 0.20.203

2011-09-01 Thread Arun Murthy
You are using to hadoop-0.21 jars on your classpath - try with the 0.20.203 jars? Sent from my iPhone On Sep 1, 2011, at 7:52 AM, Arko Provo Mukherjee < arkoprovomukher...@gmail.com> wrote: Hi, My code looks like this: *import java.util.*;* *import java.lang.*;* *import java.io.*;* *import

Re: HDFS on 0.20.203

2011-09-01 Thread Arko Provo Mukherjee
Hi, My code looks like this: *import java.util.*;* *import java.lang.*;* *import java.io.*;* *import org.apache.hadoop.*;* * * *class MapReduce {* ** *public static void main(String[] args) throws Exception {* ** *try {* *Path pt=new Path( "hdfs://localhos

Re: HDFS on 0.20.203

2011-09-01 Thread Arun C Murthy
What kind of example code are you looking for? It will help if you describe your use case... On Aug 31, 2011, at 1:13 AM, Arko Provo Mukherjee wrote: > Hi, > > I am using HDFS on 0.20.203 for my project. > > I can see the API has evolved much over the different versions. > > Can you please gu