Re: org.apache.hadoop.fs.Path toString() bug

2010-01-21 Thread Victor Hsieh
Hi Eli, Sorry, I just realized this is my own mistake. My original problem is that -libjar doesn't work when running mapreduce jobs. After debuging for a while, I thought it's the Path URI problem. But the problem is actually my wrong CLASSPATH and -libjar. Thanks, Victor On Fri, Jan 22, 2010

Re: org.apache.hadoop.fs.Path toString() bug

2010-01-21 Thread Eli Collins
On Thu, Jan 21, 2010 at 12:27 AM, Victor Hsieh wrote: > Hi, > > I probably find a bug in org.apache.hadoop.fs.Path.  Could you please > verify it for me? > > I suppose the following expression returns "file:///foor/bar", but > what returned is actually "file:/foo/bar". >    new Path("file", "", "/

org.apache.hadoop.fs.Path toString() bug

2010-01-21 Thread Victor Hsieh
Hi, I probably find a bug in org.apache.hadoop.fs.Path. Could you please verify it for me? I suppose the following expression returns "file:///foor/bar", but what returned is actually "file:/foo/bar". new Path("file", "", "/foo/bar").toString() Another more realistic case FileSystem fs